page load
Posted: Mon Jul 19, 2010 6:39 am
Hello,
I built PHP function that recognize if the user OS is mobile or regular computer. if its mobile the script will redirect the user to the site mobile version. the problem is that the site first got loaded and than after it finish it redirect the user to the mobile version.
How can I set it so my PHP function will load first?
Thank you in advance,
Roi.
I built PHP function that recognize if the user OS is mobile or regular computer. if its mobile the script will redirect the user to the site mobile version. the problem is that the site first got loaded and than after it finish it redirect the user to the mobile version.
How can I set it so my PHP function will load first?
Thank you in advance,
Roi.