Re: Form Input Type="File"

From: Date: Sat, 22 Nov 2008 15:54:01 +0000
Subject: Re: Form Input Type="File"
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-283668@lists.php.net to get a copy of this message
Stan wrote: > Ashley, > If you go back to the original append you will see the URLs. IE 6 SP1 > returns exactly the string that appears in the <input name=\"SELECTEDFILE\" > type=\"file\" /> text box, FireFox does not. I would assume that anyone > using the dialog would expect the behaviour that IE demonstrates. > > www.w3.org doesn't say anything about the return value. > > These are the only 2 browsers that I have available. > > What I need to know is: Which is behaving as all browsers will behave going > forward? > > If I remember correctly, when you POST a form the values are urlencoded automagically. But your form method is GET so you should probably urlencode the values, especially the ones with non-alphanumeric characters like {, }, etc... -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#283668) next »