NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Wanted script to divert .mobi browsers

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-01-2007, 10:48 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Feb 2007
Posts: 24
tonypony is an unknown quantity at this point
 



Wanted script to divert .mobi browsers


I have a normal.com and want to divert any browsers to the equivalent normal.mobi

Any suggestions for a script to detect mobiles & PDAs ?
tonypony is offline  
Old 03-01-2007, 12:23 PM   #2 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



http://hotscripts.com/jump.php?listi...11&jump_type=0

Basically just checks through all the normal browsers used on PCs, and then if it's not any of them it'll redirect.

Hope it's useful, you might need to work a little bit on the opera bit, as there's a mobile browser for opera (although I'm unsure on its http headers).

rep appreciated.
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 03-01-2007, 02:11 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: Feb 2007
Posts: 24
tonypony is an unknown quantity at this point
 



Thank you


Thanks a bunch,

I'll try it out now.

Now ... As I'm new here ... How do I give you a rep ?

Or is a rep just a reply ?
tonypony is offline  
Old 03-01-2007, 02:13 PM   #4 (permalink)
Senior Member
Join Date: Dec 2006
Location: England
Posts: 1,568
Matthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud ofMatthew. has much to be proud of
 


Adoption Breast Cancer Breast Cancer Cancer Survivorship
tonypony, If you want to give someone rep then click on the grey scales icon below their username () and follow the instructions

Matt
Matthew. is offline  
Old 03-01-2007, 03:22 PM   #5 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



Originally Posted by tm
http://hotscripts.com/jump.php?listi...11&jump_type=0
????: NamePros.com http://www.namepros.com/programming/300009-wanted-script-to-divert-mobi-browsers.html

Basically just checks through all the normal browsers used on PCs, and then if it's not any of them it'll redirect.

Hope it's useful, you might need to work a little bit on the opera bit, as there's a mobile browser for opera (although I'm unsure on its http headers).

rep appreciated.
Generally a poor method. Think of the Spiders coming to your site only to be redirected to the mobi

Try this

-Steve
stscac is offline  
Old 03-01-2007, 04:10 PM   #6 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Originally Posted by stscac
Generally a poor method. Think of the Spiders coming to your site only to be redirected to the mobi
????: NamePros.com http://www.namepros.com/showthread.php?t=300009

Try this

-Steve
Yes, that's a fair point. I can't download that class though, wants me to login or subscribe :@.

/edit nevermind, it's free. Swear it was paid last time.
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
Last edited by tm; 03-01-2007 at 04:14 PM.
tm is offline  
Old 03-01-2007, 04:51 PM   #7 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



Originally Posted by tm
/edit nevermind, it's free. Swear it was paid last time.
Nope. You just have to use a mirror.



-Steve
stscac is offline  
Old 03-02-2007, 06:38 AM   #8 (permalink)
Forum Moderator
 
enlytend's Avatar
Join Date: Aug 2006
Location: USA
Posts: 2,037
enlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond reputeenlytend has a reputation beyond repute
 



Cancer Survivorship
You may also want to check out WURFL and its libraries. Last I heard it was the recommended way to detect mobile browser and device capabilities.

There's a simple example of using it to redirect depending on whether it finds a mobile or non-mobile browser on pc.dev.mobi
enlytend is offline  
Old 03-02-2007, 09:46 AM   #9 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



Originally Posted by enlytend
You may also want to check out WURFL and its libraries. Last I heard it was the recommended way to detect mobile browser and device capabilities.

There's a simple example of using it to redirect depending on whether it finds a mobile or non-mobile browser on pc.dev.mobi
Definitely some good advice as well.
????: NamePros.com http://www.namepros.com/showthread.php?t=300009



-Steve
stscac is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:41 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger