RE: [PHP] weird fopen problem

2002-01-10 Thread Chris Grigor
I copied you script and ran it no probelm. are you sure that apache is running as nobody? run ps -aux | grep httpd mine is like this apache6320 0.0 5.8 49120 7248 ?S10:54 0:00 /usr/sbin/httpd - but yours might say nobody6320 0.0 5.8 49120 7248 ?S

Re: [PHP] weird fopen problem

2002-01-10 Thread Jimmy
Hi Jon, Warning: fopen(/home/jon/pgpfiles/sgsdgsdg,w) - Permission denied in /home/ethiorg/public_html/test.php on line 2 the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and group is nobody. Apache runs under user nobody. looks like you try to open a file outside the

Re: [PHP] weird fopen problem

2002-01-10 Thread Jon Farmer
Hi Jon, Warning: fopen(/home/jon/pgpfiles/sgsdgsdg,w) - Permission denied in /home/ethiorg/public_html/test.php on line 2 the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and group is nobody. Apache runs under user nobody. looks like you try to open a file outside