Re: [PHP] Permission Denied - Help Requested - Solved

2011-03-30 Thread Ethan Rosenberg
At 12:07 AM 3/30/2011, Adam Richardson wrote: On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg wrote: > At 05:33 PM 3/29/2011, Adam Richardson wrote: > >> > >> > Thanks. >> > >> > What do you see if you run this? "Can't open or create file!" >> > >> > Ethan >> >> >> OK, >> >> If you're running

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg wrote: > At 05:33 PM 3/29/2011, Adam Richardson wrote: > >> > >> > Thanks. >> > >> > What do you see if you run this? "Can't open or create file!" >> > >> > Ethan >> >> >> OK, >> >> If you're running PHP as an Apache module, by default it won't ha

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 05:33 PM 3/29/2011, Adam Richardson wrote: > > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) Yo

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
> > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) You can do something like the following: 1. C

RE: [PHP] Permission Denied - Help Requested

2011-03-29 Thread HallMarc Websites
Have you checked ownership? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 03:49 PM 3/29/2011, Al wrote: On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth.

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Al
On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.n

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >> At 01:32 AM 3/28/2011, Hans Åhlin

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >> At 01:32 AM 3/28/2011, Hans Ã…hlin wrote: >> Do you have SELinux installed? >> >>

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Ethan Rosenberg
At 11:14 PM 3/28/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <eth...@earthlink.net> wrote: At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg <eth...@eart

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Adam Richardson
On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg wrote: > At 01:32 AM 3/28/2011, Hans Ã…hlin wrote: > >> Do you have SELinux installed? >> >> 2011/3/28 Ethan Rosenberg : >> > Dear List - >> > >> > Thanks for all your help in the past. Â Here is another one... >> > >> > I am getting a Permission D

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Ethan Rosenberg
At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the

Re: [PHP] Permission Denied

2011-03-28 Thread Ethan Rosenberg
At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the

Re: [PHP] Permission Denied

2011-03-27 Thread Hans Åhlin
Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the directory and the files to 777.  This problem >

[PHP] Permission Denied

2011-03-27 Thread Ethan Rosenberg
Dear List - Thanks for all your help in the past. Here is another one... I am getting a Permission Denied" message when I try to run a PHP script. I just changed the mode on the directory and the files to 777. This problem arose when I changed the permissions. I thought I was solving a pr

[PHP] Permission Denied (in FTP)

2003-07-25 Thread Stephen
Hello, I'm having some slight issues. I have a script which creates a directory and then copies a blank file into it 4 times each with different names. Here's the code which does it: After all that is done, it's fine. The problem I'm having is deleting the folder in an FTP client. When

[PHP] Permission Denied

2003-02-22 Thread Stephen Craton
Hello, I'm having a few problems with deleting items. When I do the unlink() function, it gives me a permission denied error. For example..here's the code: unlink($this->currentfolder().'/packs/'.$title.'/'.$intname); Here's the error returned: Warning: unlink() failed (Permission denie

[PHP] Permission Denied

2003-02-22 Thread Stephen Craton
Hello, I'm having a few problems with deleting items. When I do the unlink() function, it gives me a permission denied error. For example..here's the code: unlink($this->currentfolder().'/packs/'.$title.'/'.$intname); Here's the error returned: Warning: unlink() failed (Permission denie

[PHP] permission denied

2003-01-13 Thread Anthony Ritter
Using MS Win98 / php 4: Any ideas on how I can change my permssion settings on a file called data.txt so it can be read to and written to or do I have to take that up with my ISP. I get the following after I submit a form: Warning: fopen("data.txt", "a+") - Permission denied

Re: [PHP] Permission Denied

2003-01-13 Thread Stephen
alloy" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 10:40 PM Subject: RE: [PHP] Permission Denied : I'm assuming you are using IIS. : : If your harddrive is formatted using NTFS,

Re: [PHP] Permission Denied

2003-01-13 Thread Stephen
: "'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

RE: [PHP] Permission Denied

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
[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 d

RE: [PHP] Permission Denied

2003-01-12 Thread Sean Malloy
le sharing <-- untick -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, 13 January 2003 2: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) [f

Re: [PHP] Permission Denied

2003-01-12 Thread Stephen
y 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 Hitche

RE: [PHP] Permission Denied

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
gt; 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

Re: [PHP] Permission Denied

2003-01-12 Thread Stephen
OTECTED]> 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

Re: [PHP] Permission Denied

2003-01-12 Thread Jason Wong
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.b

Re: [PHP] Permission Denied

2003-01-11 Thread jacob
The user/group (commonly nobody.nogroup or nobody.nobody) that your web server runs under probably does not have the permissions necessary to chmod those directories (ie: they are owned by someone else). Quoting Stephen <[EMAIL PROTECTED]>: > Why do I get this error whenever I try to CHMOD some

Re: [PHP] Permission Denied

2003-01-11 Thread Stephen
ginal Message - From: "Chris Hayes" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 8:49 PM Subject: Re: [PHP] Permission Denied : At 02:40 12-1-2003, you wrote: : >Why do I get this error whenever I try to CHMOD somet

[PHP] Permission Denied

2003-01-11 Thread Stephen
Why do I get this error whenever I try to CHMOD something in PHP or create a directory (in this case):   Warning: mkdir(packs/bob) [function.mkdir]: Permission denied in c:\inetpub\wwwroot\phpiw\classes\class.cp.php on line 20   Here's line 20 of class.cp.php:   mkdir('packs/'.$package, 0

[PHP] Permission Denied

2002-08-28 Thread Daren Cotter
I use PHP to send mail. Recently, emails originating from the server stopped sending. After some investigation, I looked at the /var/log/maillog file, and saw the following errors when a mailing tried to originate: Aug 29 13:16:10 x sendmail[1162]: g7TIGA001162: SYSERR(apache): Can't create trans

[PHP] permission denied using COPY function?

2002-03-18 Thread Paul Garton
Trying to use the COPY function to allow user uploads to a site, along the lines of: copy(temp directory, directory on my server). However, I'm getting an error: Warning: Unable to create 'directory/image name': Permission denied in myPHPfile on line x (where x is the COPY function). I've s

[PHP] Permission denied, although permissions are right

2001-12-12 Thread Wim Godden
Hi, I'm trying to open a file (using fopen) in the /tmp directory which is owned by user 'zapman'. The php script is also owned by user 'zapman'. However, when I try to run it, I get : Warning: fopen("/tmp/1.dat","r") - Permission denied in /documents/zapman/html/openfile.php on line 5 If I do a

[PHP] Permission Denied when copying file?

2001-09-20 Thread Jay Paulson
Hello- I'm having a problem once I upload a file and I need to copy it to a new directory using php. The error message I keep getting is this: Warning: Unable to create '/home/krox/krox.com/htdocs/images/101x_button.gif': Permission denied in /php/news/news.class.php on line 227 My question is

RE: [PHP] Permission denied

2001-03-23 Thread John Almberg
Whoopee!!! After two days of propeller-spinning, I finally uploaded a file successfully!!! I had to use an FTP connection to do it, because my PHP process didn't have permission to write files to my directory, but that's fine. Here's the code snippet that worked the trick, with my servername/us

Re: [PHP] Permission denied

2001-03-23 Thread Adam Wright
is server side, nothing you change locally can affect it. adamw - Original Message - From: "John Almberg" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 3:27 PM Subject: RE: [PHP] Permission denied > Adam, &g

RE: [PHP] Permission denied

2001-03-23 Thread John Almberg
Adam, Just ran phpinfo and you are correct: the Apache User/Group is "nobody". H'. This sounds like a problem. Hope there is an answer! - John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Permission denied

2001-03-23 Thread John Almberg
Hi Adam, thanks for your quick repsonse. I'm just renting space on a (Linux/Apache) server, so I don't have any control over how PHP is configured on the machine. Perhaps there is a way for me to change my 'local' PHP configuration? I don't know much about this aspect of PHP, obviously. I'm just

Re: [PHP] Permission denied

2001-03-23 Thread Adam Wright
MAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 2:50 PM Subject: [PHP] Permission denied > Hi all, > > I'm trying to upload a file from a client browser to my server. > > On the client side, I've got: > > >

[PHP] Permission denied

2001-03-23 Thread John Almberg
Hi all, I'm trying to upload a file from a client browser to my server. On the client side, I've got: Send this file: On the server side, I've got: echo ("$userfile"); echo ($HTTP_POST_FILES['userfile']['name'] .""); echo ($