|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
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! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > How to redirect wap and web browsers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|