Hello,
anyone may tell me if it's possible to create an empty filename using php ?
I have to create an error.log file with 0 bytes .
On documentaion I was able to find only fwrite , but it's useful only on a file that just exists ..
Thank you
$fp = fopen("error.log", "w+"); fclose($fp);
It will write the file without writing anything in it.
thanks a lot !