Hi to all!!
I need to create txt files on my remote server. The files must be in a folder. I tried with fopen funcion but it was not successful. How can I do?
// this doesn't work
$filecontent="see you later";
$fp = fopen("folder/filename.txt","w");
fwrite($fp, $filecontent);
The folder could be existent or not when I run the php file so, please, consider also this.
Thanks
_