PHP fopen permissions issue

Closed - This job posting has been filled and work has been completed.

Job Description

1) We are writing a some code to make modifications to a file. (Namely, write to it). We've are getting a permissions error even though we have given full permissions to the directory.

Warning: fopen(/var/www/html/signs/txt.txt): failed to open stream: Permission denied in /var/www/html/signs/readfile.php on line 8 Unable to create file:

Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/signs/readfile.php on line 15

2) We would like to be able to control which directories are browseable with an .htaccess file.

---
Skills: apache, linux

Other open jobs by this client