Hey guys,
I'm doing a small php add-on for a website, and I'm trying to quickly store some data in a text file.
I can easily read in data from file, but when I try to use fopen like so:
$fp = fopen(dates2.dat, "w");
I get the following error:
Warning: fopen(dates2.dat): failed to open stream: Permission denied in /home/www/zukas.com/db.inc on line 31
I guess this means that php doesn't have write access? It works if I run the script directly from SSH though.
Is there any way around this.. or how do I fix this?