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 eth...@earthlink.netwrote: 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

Re: [PHP] Permission Denied - Help Requested

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

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 eth...@earthlink.netwrote: At 11:14 PM 3/28/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg mailto: eth...@earthlink.neteth...@earthlink.net wrote: At 01:32 AM

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 eth...@earthlink.netwrote: At 11:14 PM 3/28/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg mailto:

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 eth...@earthlink.netwrote: At 11:14 PM 3/28/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:03 PM, Ethan

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 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. Create a

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.) You can

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg eth...@earthlink.netwrote: 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

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 eth...@earthlink.net: 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

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 eth...@earthlink.net: 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

Re: [PHP] Permission Denied - Help Requested

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

[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

Re: [PHP] Permission Denied

2011-03-27 Thread Hans Åhlin
Do you have SELinux installed? 2011/3/28 Ethan Rosenberg eth...@earthlink.net: 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.  

[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: ?php $folder = str_replace(' ', '_', $HTTP_POST_VARS['title']); $folder = str_replace('.',

[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

[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

Re: [PHP] Permission Denied

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

Re: [PHP] Permission Denied

2003-01-13 Thread Stephen
[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, you are going to have to add a : new entry to the ACL list

[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 in

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

RE: [PHP] Permission Denied

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

Re: [PHP] Permission Denied

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

RE: [PHP] Permission Denied

2003-01-12 Thread Sean Malloy
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

RE: [PHP] Permission Denied

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

[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, 0777);

Re: [PHP] Permission Denied

2003-01-11 Thread Stephen
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 something in PHP or create : a directory (in this case

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

[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

[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

[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 ps

[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

[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: FORM ENCTYPE="multipart/form-data" ACTION="upload.php" METHOD=POST !-- INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000" -- Send this file: INPUT NAME="userfile"

Re: [PHP] Permission denied

2001-03-23 Thread Adam Wright
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: FORM ENCTYPE="multipart/form-data" ACTION=&quo

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 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]

Re: [PHP] Permission denied

2001-03-23 Thread Adam Wright
, 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, Just ran phpinfo and you are corr

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