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. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php