You are here: fopen permissions « All PHP « IT news, forums, messages
fopen permissions

Posted by sam on 02/22/06 22:47

In order for me to use fopen to create a file on my host, the containing
folder need to have the permissions 777. With anything less I get the error:

Warning: fopen(testfile.txt): failed to open stream: Permission denied
in /home/sam/public_html/testing/fopen/test1.php on line 2

Is this usual or a peculiarity with my host, and what security measures
must I take to prevent any problems later on.

sam

 

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

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