Is there anyway to redirect php page other than using HEADER("LOCATION:URL") ? Header can only be called if nothing is written to HTML... Is there anyway around it?
You can use output buffering. Then it doesn't matter where you call header(). But if you do a redirect you should clear the output buffer before doing so to prevent that the output which has been done so far is send to the browser.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php