Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   mobile redirect php script (http://www.go4expert.com/forums/mobile-redirect-php-script-t17689/)

ashcares 24May2009 22:49

mobile redirect php script
 
Hi there,

I was hoping someone might help me edit this mobile redirect code posted at:
pcmechanix.ca/mobile_redirect.htm

so that it includes IPhones with the redirecting process.

Any suggestions?

FYI - Besides this minor exception, it is quite an effective code for redirecting mobile phones. You can try it for yourself, simply enter the following URL into your mobile:

<<Snipped>>

Thanks,

Ash
Webmaster

shabbir 25May2009 10:57

Re: mobile redirect php script
 
Keep your Self promoting urls into signatures only.

pradeep 25May2009 14:25

Re: mobile redirect php script
 
remove:
Code: PHP

if(preg_match("/iphone/i",$_SERVER["HTTP_USER_AGENT"])) return false;


Add 'iphone' to $uamatches array


All times are GMT +5.5. The time now is 08:29.