Hi, I have a frustrating issue where when I redirect users on a mobile device to my mobile friendly website I get the following:
Warning: Cannot modify header information - headers already sent by (output started at C:\Server\xampp\htdocs\p3\mb\index.php:2) in C:\Server\xampp\htdocs\p3\mb\index.php on line 3
This line this error is referring to:
<?php setcookie("mobile","m", time()+3600, "/",".begraphics.com"); ?>
Which allows the user to go back to the desktop site when the link is pressed.
I uploaded this to another server I control and had no issues...
= works fine
Any idea why it may be working on one and not the other... do I need to contact the server hosts to request something?