Afficher un message
Vieux 13/09/2007, 22h15   #1
tedpottel@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Cannot create a file using php on appache web server

Hi,

I have a local webserver/php develpment system running under windows
xp,
the following line works fine
$handle = fopen("ted.txt", "w");

but when I try to run it on my hosting account, it gives me the
following error
Warning: fopen(ted.txt) [function.fopen]: failed to open stream:
Permission denied in /home/allthing/public_html/test.php on line 13
coulf not open file

On a uniz web server how do I set the file permissions???

  Réponse avec citation
 
Page generated in 0,04203 seconds with 9 queries