Posted by php newbie on 02/07/07 15:09
I have a simple php page in which I use
header("Location: http://www.example.com/");
to redirect the user to another php page. The php script works on my
local machine but when I upload it to the web server for hosting the
redirection does not work. Instead on one server it gives the standard
header error
Warning: Cannot modify header information - headers already sent
by .......
while on the other server, I dont see this error but it also does not
redirect just refreshes the page when I click the Submit button.
Does anybody know how can i resolve this?
Thanks
Navigation:
[Reply to this message]
|