I am not sure if cakephp supports this; but you usually would have to find a way to recognize mobile headers. There might already be a library out there for this. Last time I worked on this was using modperl and we had all the headers in the DB allowing us to recognize the device.
See this below to give you an idea: http://howto.devtoolsonline.com/content/tutorials/how-to-recognize-mobile-devices/how-to-recognize-mobile-devices.html Hope this helps and leads you in the right direction. Regards, Alfredo On Mon, Feb 9, 2009 at 2:25 PM, monirr444 <muni...@hotmail.com> wrote: > > > i made an iphone version of my site is there any way to put a code in my > index.ctp whenever iphone users go there redirect them to iphone version or > any other solutions > > thank You > > -- > View this message in context: > http://n2.nabble.com/iphone-version-of-my-site-tp2298939p2298939.html > Sent from the CakePHP mailing list archive at Nabble.com. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---