This may be an obvious question, but I have not found an answer anywhere.
So, if I check if the function works, I put it in the if () condition, for example:
if(!fopen($filename, "w")) print "file not found";
But does he open the file? And does it erase it? (This "w" mode might trigger this.)
Thanks!
source
share