Bonjour!
My line :
$fp = fopen("c:/test.txt", "w");
My error :
Warning: fopen("c:/test.txt","w") - No such file or directory in /var/www/html/prattshop/excel.php4 on line 5
And then after that I get some error because my file handle is not correct :
Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/prattshop/excel.php4 on line 25
I don't know what to do. The file doesn't exist but in the manual it says, and I quote, "If the file does not exist, attempt to create it. " That's what i want, create a new file. (http://www.php.net/manual/en/function.fopen.php)
Any help would be appreciated
Thanx 🙂
Jacinthe