Re: header(); Issue

From: Date: Thu, 19 Jun 2003 20:11:26 +0000
Subject: Re: header(); Issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152232@lists.php.net to get a copy of this message
--- SpyProductions Support Team <support@spyproductions.com> wrote: > > I have this in a script: > > header("Location: $Relative/outstanding.php?pdd=1&pddid=$poid"); A good way to make sure you are sending the header you think you are is to use echo instead of header() for a quick debugging run. For example: echo "Location: $Relative/outstanding.php?pdd=1&pddid=$poid"; If the resulting URL is something you can paste into your browser to arrive at the right place, then your Location header is properly formatted. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#152232) next »