i see what you mean but i dont think that will work for me, ideally
just want them to choose a location after which i will create the file
in this location. the only option i can think of the moment is to
default to the users home directory.
Ive just realised that the subject of my email is rather misleading,
sorry i am a numpty at times.
Ade
Jay Blanchard wrote:
[snip]
a quick one i hope! i am trying to allow users to save a set of data as
a csv file when clicking on a link on our intranet. i can do all the
formatting and output to file but i would like the user to be able to
specify where the file is saved in the same way as they would choose a
file to upload. Any ideas how this can be done?
[/snip]
You could have a drop down list of the available directories for storage on
the server and use that with move_uploaded_file()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php