Warning: fopen("credit_card.txt","a") - Permission denied in /home/group5/public_html/MemRegistration/RegMemConfirm.php on line 53
Warning: Supplied argument is not a valid File-Handle resource in /home/group5/public_html/MemRegistration/RegMemConfirm.php on line 54
Warning: Supplied argument is not a valid File-Handle resource in /home/group5/public_html/MemRegistration/RegMemConfirm.php on line 55
my code is:
//append record into file
$files = fopen("credit_card.txt", "a");
fwrite($files, $value);
fclose($files);
what's wrong with my code?