Here's what i'm trying to do in php and using a mySQL database:
I want a button on a page that if clicked it launches the browser's or OS's "Save As" window, allowing me to specify where to save my file and/or create a new folder. This needs to work on Mac and PC.
thx in advance Adil..
What's wrong with:
<form method="post" action="thispage.php"> <input type="file" name="filename_whatever"> <input type="submit" name="submitFile" value="Submit"> </form>
This isn't even PHP.
Because the OP is asking for how to have it prompt the user where to save a (assumingly downloaded) file--not how to choose a file to upload.
-- Regards, Ben Ramsey http://benramsey.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php