Mobile version

Since fleb creates flash websites, you may want to create a mobile version in order to visit the site through an iPhone or an iPad for example.

In order to do this, open index.php and use this code:

if($iPhone || $iPod) {
   $base = "http://".$_SERVER["HTTP_HOST"].substr($_SERVER["PHP_SELF"], 0,strrpos($_SERVER["PHP_SELF"], "/"))."/";
   header('Location: '.$base.'mobile/index.php');
   exit();
} else if ($iPad) {  
   $base = "http://".$_SERVER["HTTP_HOST"].substr($_SERVER["PHP_SELF"], 0,strrpos($_SERVER["PHP_SELF"], "/"))."/";  
   header('Location: '.$base.'mobile/index.php');
   exit();
}        

 

Post A Comment

Anti-Spam Quiz: