I am trying to add a 'full site' button to my mobile site so that viewers have the option to view the non-mobile version of the website. I started using this website: http://www.squidoo.com/php-mobile-redirect and followed the steps up until I was supposed to put the 'setcookie("mobile","m", time()+3600, "/");' code into the main page of my mobile site. Problem is, my mobile site is made with html not php. So is there a way of enabling php in an html doc? I tried changing the .htaccess file but then the site just completely wouldn't work. OR if anyone has any other good ways of bypassing the redirect, please let me know.
Just so you know, the full website is www.example.com, and the mobile redirect takes users to www.example.com/m/ , so the mobile site is just a folder in the root directory. Thanks.