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

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed May 21 11:26:23 MDT 2008


I have that particular problem on a page where 2 html documents or 2
headers are embeded in the same php output, yes, I know it's crazy,
but I have had no time to fix it, and it's a warning and not really an
error

ggt

2008/5/21 Troy Meyers <tcmeyers at troymeyers.com>:
> 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...
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list