You are here: Cannot create a file using php on appache web server « PHP Programming Language « IT news, forums, messages
Cannot create a file using php on appache web server

Posted by tedpottel@gmail.com on 09/13/07 20:15

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация