Hi,
im trying to do a redirect page when someone logs in to the site. Here is my code:
header("Location: [url]http://[/url]" . $SERVER['HTTP_HOST'] . dirname($SERVER['PHP_SELF']) . "/" . $relative_url, true);
exit;
when i try to run this code it gives me an error message:
Warning: Cannot modify header information - headers already sent by ...
Any suggestions how to make this redirect page work?
Thanks.