I'm hoping someone can help me out.
In an ideal world, I would just use the php script to copy one file to another location, but when I try to do that, I get permission errors. If I try to have the script chown the directory I want to copy to, I get "Operation not permitted" errors. So, now, I'm wondering if I can use php to do the following:
(1) Read contents of FileA
(2) Create a file called FileB
(3) Insert contents of FileA into FileB
I've looked at fopen, fread, fwrite, but I'm not sure if I can have two files open at once? I'm not that great with php, so if someone can help me out, that would be awesome.