redirect to mobile website using PHP
问题 I have use this to generate this code: <?php require_once('mobile_device_detect.php'); mobile_device_detect(true,false,true,true, true,true,true,'http://m.mydomain.com',false); ?> But the only directions are to "copy and paste this code". Um.. copy and paste where? Do I need to create a new php file? Is this index.php ? What if I already have an index.html file? EDIT: I understand that I put mobile_device_detect.php in the root of mydomain.com . My question is where to put the above php code.