Results 1 to 5 of 5
-
02-09-2003, 08:22 AM #1Brazil-DudeGuest
I want to use my guestbook program written in PHP. However the access to my datafile is denied. How can I get permission to open a datafile?
Warning: fopen("gb.dat", "a") - Permission denied in /home/virtual/site20/fst/var/www/html/ardguest.php on line 540
Warning: flock(): supplied argument is not a valid File-Handle resource in /home/virtual/site20/fst/var/www/html/ardguest.php on line 542
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/virtual/site20/fst/var/www/html/ardguest.php on line 547
-
02-09-2003, 10:40 AM #2webtechGuest
HI,
First try 644, if it doesn't work then try with 777.
Thanks
shan
-
02-09-2003, 05:20 PM #3LogicGuest
If CHMOD 777 doesn't work... then try CHMOD 755
-
02-10-2003, 05:37 AM #4Brazil-DudeGuest
Thanks guys. I tried with 755 and its working fine.
-
02-10-2003, 12:11 PM #5LogicGuest
No problem man....
That's what I'm here for... :P
Bookmarks