Hi everyone!
I am trying to:
- create a file from a variable sent through a html form to a php script.
- open an existing file and write that information to the file which was just created.
I have fixed the permissions but still get it to work.
Any suggestions?
Here is what I have:
// opens the new file from a variable passed, this part works ok
$handle = fopen($rom, "w+");
$first = fopen("pointers.nes", "r");
fwrite ($handle, $first);