Re: creating a folder in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Sims wrote:
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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux