Re: [PHP] Unlink Woes

2001-07-23 Thread Sheridan Saint-Michel
M Subject: RE: [PHP] Unlink Woes > if(get_cfg_var('safe_mode')){ > echo "running in safe mode"; > } > ?> > > -Original Message- > From: Sheridan Saint-Michel [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 20, 2001 1:04 PM > To: [EMAIL PROT

Re: [PHP] Unlink Woes

2001-07-20 Thread Inércia Sensorial
Run the function phpinfo(); -- Julio Nobrega. This is a man's world. But it would be nothing. It would be nothing without a woman or a girl. "Sheridan Saint-Michel" <[EMAIL PROTECTED]> wrote in message 02d101c1113d$f7a5ccc0$[EMAIL PROTECTED]">news:02d101c1113d$f7a5ccc0$[EMAIL PROTECTED]... >

Re: [PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
How can I find out if my server is in Safe mode? Do I have to call my Host and ask them? Sheridan - Original Message - From: <[EMAIL PROTECTED]> To: Sheridan Saint-Michel <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 11:25 AM Subject: Re: [PHP]

Re: [PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
I know... that's why I included all the info about how I chmod'ed both the files and directories 777 > > If you're running PHP as an Apache module it runs as the owner that Apache > runs as and can only unlink files owned by that user unless the file you are > trying to unlink is world-writable.

Re: [PHP] Unlink Woes

2001-07-20 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > on 7/20/01 11:48 AM, Sheridan Saint-Michel at [EMAIL PROTECTED] wrote: > > > Warning: Unlink failed (Permission denied) in > > /home/www/foxjet/employees/admin.php on line 108 > I had this error to from unlink, it may be because your server is in "safe > mode" If y

Re: [PHP] Unlink Woes

2001-07-20 Thread [EMAIL PROTECTED]
on 7/20/01 11:48 AM, Sheridan Saint-Michel at [EMAIL PROTECTED] wrote: > Warning: Unlink failed (Permission denied) in > /home/www/foxjet/employees/admin.php on line 108 > > Here's the code > > if($submit == "Delete") > { > for ($j = 0; $j < $numfiles; $j++) > { > $checkname = $files[$j]; > if

[PHP] Unlink Woes

2001-07-20 Thread Sheridan Saint-Michel
I am working on a webpage that lets people manage certain files on the server. Everything is going pretty well, except everytime I run my Delete Code I get Warning: Unlink failed (Permission denied) in /home/www/foxjet/employees/admin.php on line 108 Here's the code if($submit == "Delete")