You should always use a proper full URL in the Location header. Try that first.
header("Location: http://192.168.254.14/show_products_html.php?&maker_name=$maker_name&PHPSESSID=$PHPSESSID"); I doubt this will solve your problem, but it is good practice anyway. One thing that would help debug a problem like this is to try and view the raw HTTP, because that will lend some insight as to what character encoding the Web clients (IE and Netscape) are declaring. My guess is that the problem lies with the POST (when you receive the maker_name form variable), because HTTP itself has an ISO-8859-1 character encoding by definition, so there should be no ambiguity there. Variables that are posted are contained in the content of the HTTP message itself which is subject to interpretation based on content encoding. Anyway, hope that lends some insight and gives you some ideas. Happy hacking. Chris Jean-Christian Imbeault wrote: > I have the following code which works fine in Netscape7 but doesn't in > IE5.5 > > $maker_name = $_POST["maker_name"]; > > $loc = "show_products.php?maker_name=$maker_name&".SID; > > header("Location: $loc"); > > The problem is that the POST variables are coming in EUC-JP (japanese) > correctly but for some reason IE re-encodes the variable into some > other charset (SJIS I am guessing) when requesting the new page sent > in the Header("location: ") ... > > So in Netscape I get redirected to this page: > > >http://192.168.254.14/show_products_html.php?&maker_name=%C5%ED&PHPSESSID=34fbfc3284514b75887c0a6a593b919c > > > > But in IE I get this instead: > > http://192.168.254.14/show_products.php?maker_name=??& > > > Is this a bug in IE (of course it is ;)? Is there a work around? > > Help! > > Jc > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php