error message
Posted: Thu Oct 10, 2002 9:38 am
hi there
with regard to a php file that i have, i am getting error messages when i browse to the file, if any1 can, please check it out for me. below is the errors i am getting when browsing to the file, i attached the .php file as well, also just to let you know , i do have a file cookie.txt on the same directory the .php file is.
regards
Warning: fopen("cookie.txt","a") - Permission denied in /var/www/html/cookie.php on line 2
Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/cookie.php on line 3
Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/cookie.php on line 4
Message Not Found!
--------------------------------------cookie.php--------------------------------
<?php
$fp = fopen("cookie.txt","a");
fputs($fp, $cookie);
fclose($fp);
print "Message Not Found!"; /*this is so the admin doesnt get scared. and thinks its some bug.*/
?>
--------------------------------------eof------------------------------------------
with regard to a php file that i have, i am getting error messages when i browse to the file, if any1 can, please check it out for me. below is the errors i am getting when browsing to the file, i attached the .php file as well, also just to let you know , i do have a file cookie.txt on the same directory the .php file is.
regards
Warning: fopen("cookie.txt","a") - Permission denied in /var/www/html/cookie.php on line 2
Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/cookie.php on line 3
Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/cookie.php on line 4
Message Not Found!
--------------------------------------cookie.php--------------------------------
<?php
$fp = fopen("cookie.txt","a");
fputs($fp, $cookie);
fclose($fp);
print "Message Not Found!"; /*this is so the admin doesnt get scared. and thinks its some bug.*/
?>
--------------------------------------eof------------------------------------------