Sitebase

Sitebase does not currently provide support for this item.

Popular questions for this item

Does this script Skyfire browser

I looked at the Skyfire browser and at the moment this browser doesn’t send a useragent to the server so we can’t support this browser until they do this.

How to redirect the user if he is using a mobile device?

To do this you can use the following code:

include("MobileDetect.php");
$MobileDetect = new MobileDetect();
if($MobileDetect->IsMobile()){
    header("Location: http://mobile.mysite.com");
}

Replace the mobile.mysite.com with the url of your mobile site.

I get the following errror when I try to run the script: Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}

You need to have PHP5 installed on your server. It seems that you are running PHP4.

by
by
by
by
by
by