Re: Permission Denied
| From: | Stephen | Date: | Mon, 13 Jan 2003 17:23:12 +0000 |
| Subject: | Re: Permission Denied | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131451@lists.php.net to get a copy of this message | ||
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)" <hitcho@php.net>
To: "'Stephen'" <webmaster@melchior.us>; <hitcho@php.net>
Cc: "'PHP List'" <php-general@lists.php.net>
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: tim@hitcho.com.au
:
: > -----Original Message-----
: > From: Stephen [mailto:webmaster@melchior.us]
: > Sent: Monday, 13 January 2003 1:36 PM
: > To: hitcho@php.net
: > 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)" <hitcho@php.net>
: > To: "'Stephen'" <webmaster@melchior.us>;
<php-general@lists.php.net>
: > 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: tim@hitcho.com.au
: > :
: > : > -----Original Message-----
: > : > From: Stephen [mailto:webmaster@melchior.us]
: > : > Sent: Monday, 13 January 2003 9:09 AM
: > : > To: php-general@lists.php.net
: > : > 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" <php-general@gremlins.biz>
: > : > To: <php-general@lists.php.net>
: > : > 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
:
:
: