[FX.php List] Error 958: Parameter missing in query

Troy Meyers tcmeyers at troymeyers.com
Wed May 21 10:20:09 MDT 2008


Erik,

I will...

If the PHP file is not encoded as UTF-8 then when the browser receives it (probably depending on the brower) it follows the encoding schem of the incoming page even though it doesn't match the META tag. If the tag and the actual encoding don't match, then the browser has got to make some sort of choice. There is no correct choice since they don't match.

If the browser has chosen to use the encoding of the page file rather than the META tag, then when the form is POSTed the parameters and their values will not be encoded as UTF-8. If there is a special character, like an accented character "é" or the like, then when PHP receives the POST stream it is decoded as UTF-8 (which it isn't) and this breaks the POST stream. Thus, depending on the position of the break, certain parameters might be lopped off of the POST.

This causes the "Error 958: Parameter missing in query" error.

-Troy


> Roger,
> 
> Can you explain how reencoding the file would affect the problem I  
> originally described?
> 
> There are no 'odd' characters in my source file...



More information about the FX.php_List mailing list