Target for PHP fwrite.
Posted: Mon Mar 22, 2010 5:50 am
Hi all,
I'm a bit of a newbie so here goes.
I've written a PHP application that reads a bunch of javascript array files, converts them into PHP arrays, loads them into a MySQL database and then, using PHP fwrite, creates new copies of the original javascript files.
All works fine and dandy, however, in the last step, when writing the new file copies, I want the user to be able to specify their local target directory location using a browse button as opposed to my hardcoding the target location with the script.
This sound simple, but I'm pulling my hair out here.
Can this be done???
Here's hoping.
Mike.
I'm a bit of a newbie so here goes.
I've written a PHP application that reads a bunch of javascript array files, converts them into PHP arrays, loads them into a MySQL database and then, using PHP fwrite, creates new copies of the original javascript files.
All works fine and dandy, however, in the last step, when writing the new file copies, I want the user to be able to specify their local target directory location using a browse button as opposed to my hardcoding the target location with the script.
This sound simple, but I'm pulling my hair out here.
Can this be done???
Here's hoping.
Mike.