Re: upload path

From: Date: Fri, 16 Dec 2005 14:15:37 +0000
Subject: Re: upload path
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227540@lists.php.net to get a copy of this message
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()


« previous php.general (#227540) next »