Re: Redirect problem.... UGH!!

From: Date: Wed, 30 Jan 2002 19:14:07 +0000
Subject: Re: Redirect problem.... UGH!!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-82787@lists.php.net to get a copy of this message
On Thursday 31 January 2002 02:47, Ben Turner wrote: > I am trying to put together a very simple redirect from php. all it is > supposed to do is pull down the $p var and ship the user off to the > destination. > > Ready for some code? > > <? > #Header("Location: index.html"); > ?> > > When I try this on a Linux server using PHP... everything works fine. The > minute I put it on IIS5 (the clients server) I receive "The specified CGI > application misbehaved by not returning a complete set of HTTP headers. " > > I am guessing this is a bu with PHP and IIS but does anyone know how to > circumvent it? You have a # before Header, is that a typo or is it actually in your code? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Some people around here wouldn't recognize subtlety if it hit them on the head. */

« previous php.general (#82787) next »