Re: Form Input Type="File"

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

 



On Sat, 2008-11-22 at 06:21 -0600, Stan wrote:
> This generated HTML puts up a file selection dialog .
> 
> 
> 
> echo "                      <p align=center><span>\n";
> 
> echo "                                      Pick a picture file to examine
> ...\n";
> 
> echo "                                      <form method=\"get\"
> enctype=\"text/plain\" action=\"Default.php\" target=\"_top\">\n";
> 
> echo "                                                      <input
> name=\"ID\" type=\"hidden\" value=\"{1BB48FF1-C6A2-4FB8-84C9-DD9615000694}\"
> />\n";
> 
> echo "                                                      <input
> name=\"SELECTEDFILE\" type=\"file\" /><br><br>\n";
> 
> echo "                                                      <input
> type=\"submit\" value=\"Submit\" />\n";
> 
> echo "                                      </form>\n";
> 
> echo "                      </span>\n";
> 
> 
> 
> . which results in this URL .
> 
> 
> 
> http://frames.stan-and-jeanne.com/Default.php?ID=%7B1BB48FF1-C6A2-4FB8-84C9-DD9615000694%7D&SELECTEDFILE=%5C%5CNasserver%5CPicturesMaster%5C2004-07-31_Guadalupe_River_rafting_roll-1%5C0033126-R1-042-19A_20.jpg
> 
> 
> 
> . with IE 6 SP 1 and this URL .
> 
> 
> 
> http://frames.stan-and-jeanne.com/Default.php?ID={1BB48FF1-C6A2-4FB8-84C9-DD9615000694}&SELECTEDFILE=0033126-R1-042-19A_20.jpg
> 
> 
> 
> . with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.4)
> Gecko/2008102920 Firefox/3.0.4, even though every thing else is exactly the
> same.
> 
> 
> 
> Am I SOL?
> 
> 
> 
The URL you are saying results from Mozilla has none of the characters
escaped. Also, you seem to be missing part of the path for the jpeg: "%
5C%5CNasserver%5CPicturesMaster%
5C2004-07-31_Guadalope_River_rafting_roll-1%5C"

How are you actually handling the form submission?


Ash
www.ashleysheridan.co.uk


-- 
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