Php File Access

liunx

Guest
I can't get any PHP scripts to create, read or write files.<br /><br />I've set the directory permissions to rw-rw-rw-<br /><br />and it still doesn't matter. I can't create new files, <br />read existing ones, etc.<br /><br />I've tried support but they were no help. Any ideas?<br /><br />The same scripts that work fine on my PC fail when installed<br />on my site.<!--content-->
Can you provide a url to one of the files so that we can see what is happening (or not happening?) Check and be sure that the permissions are being set and "sticking."<!--content-->
The url is:<br /><a href="http://www.singles-in.com/votedata/votelog.txt" target="_blank">http://www.singles-in.com/votedata/votelog.txt</a><br />file manager shows permissions as 666.<br />the directory shows 766.<br /><br />the script is located in the public_html directory<br />and refers to the file as "votedata/votelog.txt'<!--content-->
Set everything to 777 just to test it and see if it still doesn't work. Maybe you have the path names for the server wrong? (/home/singles/public_html ?)<!--content-->
 
Back
Top