My Full system settings are IIS 6.1, Windows XP Professional, etc. I'll be publishing the script later and most will have CHMOD settings. Now I guess I need to know how to fix it on my test server and then what the CHMOD settings should be...
As for Sean's email, I just did those settings and I'll have the results later today. I'm only home for lunch, need to get back to school... ----- Original Message ----- From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: "'PHP List'" <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 11:05 PM Subject: RE: [PHP] Permission Denied : Who owns the htdocs root (I know it is Windows) when you right click you : should should see sharing/security. : : Do you if not what OS Ver are you using? : : : : Timothy Hitchens (HiTCHO) : Open Platform Consulting : e-mail: [EMAIL PROTECTED] : : > -----Original Message----- : > From: Stephen [mailto:[EMAIL PROTECTED]] : > Sent: Monday, 13 January 2003 1:36 PM : > To: [EMAIL PROTECTED] : > Cc: PHP List : > Subject: Re: [PHP] Permission Denied : > : > : > Yes, I just added it but same error: : > : > Warning: mkdir(c:\inetpub\wwwroot\phpiw\packs\bob) : > [function.mkdir]: Permission denied in : > c:\inetpub\wwwroot\phpiw\classes\class.cp.php on line 28 : > : > Here's the part where I try and make the folder: : > : > function do_dir($package) { : > umask(0); : > if(mkdir($this->currentfolder().'packs\\bob', 0777)) { : > return true; : > } else { : > echo 'There is already a package by the name of : > '.$package.'! Delete it and try again.<br><br>'; : > return false; : > } : > } : > : > Any ideas? : > ----- Original Message ----- : > From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> : > To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> : > Sent: Sunday, January 12, 2003 6:33 PM : > Subject: RE: [PHP] Permission Denied : > : > : > : Did you use the umask(0) prior to the mkdir() in your script?? : > : : > : : > : Timothy Hitchens (HiTCHO) : > : Open Platform Consulting : > : e-mail: [EMAIL PROTECTED] : > : : > : > -----Original Message----- : > : > From: Stephen [mailto:[EMAIL PROTECTED]] : > : > Sent: Monday, 13 January 2003 9:09 AM : > : > To: [EMAIL PROTECTED] : > : > Subject: Re: [PHP] Permission Denied : > : > : > : > : > : > Ok, I got it to make a directory as a absolute path but I'm : > : > getting a "Permission Denied" error again. I'm running IIS so : > : > I can't CHMOD and all the permission options are checked in : > : > the options box. : > : > : > : > : > : > ----- Original Message ----- : > : > From: "Jason Wong" <[EMAIL PROTECTED]> : > : > To: <[EMAIL PROTECTED]> : > : > Sent: Sunday, January 12, 2003 4:03 AM : > : > Subject: Re: [PHP] Permission Denied : > : > : > : > : > : > : On Sunday 12 January 2003 10:10, Stephen wrote: : > : > : > There's already a folder named packs but my problem was : > : > not having the / : > : > : > before it. One more question. How can I dynamically get : > : > the path to the : > : > : > current folder? Like your at : > : > http://www.bob.com/joe/index.php and you want : > : > : > to get the : > : > http://www.bob.com/joe/ bit and do it dynamically? : > : > : : > : > : print_r($_SERVER) will show you which bits you can use. : > : > : : > : > : -- : > : > : Jason Wong -> Gremlins Associates -> www.gremlins.biz : > : > : Open Source Software Systems Integrators : > : > : * Web Design & Hosting * Internet & Intranet Applications : > : > Development * : > : > : : > : > : /* : > : > : I'll show you MY telex number if you show me YOURS ... : > : > : */ : > : > : : > : > : : > : > : -- : > : > : PHP General Mailing List (http://www.php.net/) : > : > : To unsubscribe, visit: http://www.php.net/unsub.php : > : > : : > : > : : > : > : : > : > : > : > : > : > : > : > -- : > : > PHP General Mailing List (http://www.php.net/) : > : > To unsubscribe, visit: http://www.php.net/unsub.php : > : > : > : : > : : > : : > : > : : : -- : PHP General Mailing List (http://www.php.net/) : To unsubscribe, visit: http://www.php.net/unsub.php : : : -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php