Robert Cummings wrote:
> Just make your life easy and create a redirect() function that generates
> the header instruction, makes a relative URL into an absolute URL and
> does the exit call. Then you just need to do:
> redirect( 'target.php' );
> Sooooooooo much simpler :)
> Cheers,
> Rob.

Definitely!  Technically, header() with Location: should have an
absolute URL, though it works without one most of the time.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to