Redirect by PC or mobile phone access

Just the same domain, using the following code, you can let your computer and mobile phone show different contents. We have to design 2 pages, all named index.php, the first one will be put at your host root, and the other one will be put under wap.
Page 1.
0)
{
@header(“Location: /wap/”);
}

?>


Cheap Glasses



Cheap Prescription Glasses, and Non-Prescription Glasses.


Page 2.





Cheap Glases Mobile


Cheap Prescription Glasses Mobile

Cheap Non-Prescription Glasses Mobile



Live Demo: www.cheapglasses.mobi

King Php Science Welcome, you are from: 54.146.5.196