[EMAIL PROTECTED] Thanks you two

2007-08-25 Thread John Wyatt
The permission error is solved, I don't feel too good giving PHP write access 
to an entire folder...

and yes the PHP tutorial has no security checks at all, it's just a beginners 
tutorial.


John
   
-
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.

[EMAIL PROTECTED] Apache Permmisions error

2007-08-23 Thread John Wyatt
Hey folks, i'm coding a php blog from a IBM's developerWorks tutorial and I get 
this error with permissions.

Main blog page

 
 Warning:  mkdir() [function.mkdir]: Permission denied in 
/home/www/edit/index.php on line 9
 
 Warning:  fopen(../blogs/Aug 2007/Aug 23 2007 18 13) [function.fopen]: failed 
to open stream: No such file or directory in /home/www/edit/index.php on line 11
 
 Warning:  fwrite(): supplied argument is not a valid stream resource in 
/home/www/edit/index.php on line 12
 
 Warning:  fclose(): supplied argument is not a valid stream resource in 
/home/www/edit/index.php on line 13
 Blog entry saved/updated


I'm using php mod and i'm a newbie to both php  apache, I was wondering if 
someone could help me with this since I haven't  found an answer in the 
documentation.


John
   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more.