[eluser]Roosevelt![/eluser]
Hi everyone,
This is a very weird problem. I have the following lines of code:
Code:
$readFile = read_file("./readsource/file.txt");
$writeFile = write_file("./writesource/test.php", $readFile, 'w+');
I tried checking $writeFile using if, and found that it isn't writing the file. But does read the file from readsource just fine when I echo the contents.
I am using Apache on Windows and the folder writesource has full read/write permission.
Any ideas what is going wrong?