|
Hi there.
I have a php if else for which when else, i want to rediretc the user to a different page.
How do i do this.
when i use header("location: http://www.thefirstpost.com/"); , i get the error Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\vhosts\pnets.org\httpdocs\php\redirect. php:9) in E:\inetpub\vhosts\pnets.org\httpdocs\php\redirect. php on line 11
which would seem logical however i cant find an alternative
Last edited by numbenator : 03-27-2006 at 05:08 AM.
|