Cannot relocate header

Started by actionman, February 15, 2013, 05:28:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

actionman

Hi peeps

can someone point me to where i can get the header location command  to work

i am helping a friend but any code that also calls the header location throws up an error

can you help please

they get the
Cannot modify header information - headers already sent by (output started at /home/admin/domains/.../public_html/test.php:1) in /home/admin/domains/.../public_html/test.php on line 174

which is this
header('Location: http://.../test.php?page='.$page2.'');

added it to xxamp and it works fine - so somin server end im guessing

any help would be appreciated

Actionman