WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 22nd, 2004, 06:15 AM
wapindya's Avatar
wapindya wapindya is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: INDIA
Posts: 394 wapindya Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 Days 10 h 34 m 35 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
How to redirect wap and web browsers

I have a big problem setting up automatic redirection for my web + wap site. I am using php with Mysql. Please any body tell me how to redirect the wap visitors to wap.somesite.com and web visitors to somesite.com/web .

if possible please gimme the code u use for ur site.
I will b veri thankful to you!

Regards,

Amol

Reply With Quote
  #2  
Old August 22nd, 2004, 07:50 AM
wapindya's Avatar
wapindya wapindya is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: INDIA
Posts: 394 wapindya Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 Days 10 h 34 m 35 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Arrow Answer please!

Do u have a browser detection and redirection php script. if u have please gimme. I am having problems here. I have a web + wap site under construction here. http://Mobileindya.Com i want to redirect the wap visitors who use wap browsers to wap.Mobileindya.Com and web visitors to Mobileindya.com/web/ Please if u know tell me how to do this.

Regards,
Amol

Reply With Quote
  #3  
Old August 22nd, 2004, 08:13 AM
wapindya's Avatar
wapindya wapindya is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: INDIA
Posts: 394 wapindya Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 Days 10 h 34 m 35 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Wink I found something>>

I found something for cold fusion, but i want the same for php!

==============
Ans by:- DuckBoxxer
==============
One of my sites uses cold fusion to check for available mime types. If wap capability is detected it redirects. I guess the same in PHP (or whatever your using) would work.
I've tested this using a range of different wap devices and it works fine for me. Not sure how fool proof this method is though to be honest.

The code I use is:

<CFIF #CGI.HTTP_ACCEPT# CONTAINS "text/vnd.wap.wml"> <CFLOCATION URL="http://wap.example.com"> </CFIF>

---------------------------------------------

i want the same for php, som body help!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > How to redirect wap and web browsers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway