Tracknut's redirect question
I hope this post isn't to old to reply to.
I'm testing Tracknut's sweet redirect PHP w/full site link on mobile. Its Exactly what I need, redirect each time, no cookie, Full site Query string URL.
What's happening is, the execution stops in the PHP script and my web page is not continuing to load for desktop or mobile, something to do with the Breaks maybe? I'm not a php coder, but I use much php on the server side.
When I view the Source on the blank page, all code is shown up to the php code below:
Any suggestions appreciated.
<!---------- Mobile Device Redirect function ------>
$mode = "mobile";
$mode = "desktop";
$mode = IsMobile() ? "mobile" : "desktop";
if ($mode == "mobile")
header ("Location: http://www.mobile.hepptech.com");