PHP Classes
elePHPant
Icontem

WAP Redirect: Redirect mobile phone users

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-03-06 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 582 This week: 1All time: 5,047 This week: 1,047Up
Version License PHP version Categories
wap-redirect 1.0GNU Lesser Genera...5.2.9HTTP, PHP 5, Wireless and Mobile
Description Author

This class can be used to redirect mobile phone users.

It can check the user agent string sent by the user browser and redirect to different URLs depending on the type of device that is use to access the current page.

Currently it can redirect to different URLs depending on whether the user device is an iPhone, a PlayStation or another device that supports WML.

Picture of Rajesh Bhatia
Name: Rajesh Bhatia <contact>
Classes: 3 packages by
Country: India India

Details
/************* for eaxample.php********/
 First parameter to constructor is for PC
 Second parameter to constructor is for WAP
 Third parameter to constructor is for iPhone
 Forth parameter to constructor is for Play station
/***************end example.php*******/

/************* for eaxample.php********/
I have divided functionalities into separate functions of the class, you can use individual function according to your requirement.
/***************end wapRedirect.php*******/

  Files folder image Files  
File Role Description
Accessible without login Plain text file readme.txt Doc. Information file
Accessible without login Plain text file example.php Example example file
Plain text file wapRedirect.php Class This class is useful to implement redirection logic on the basis of browser requesting page

 Version Control Unique User Downloads Download Rankings  
 0%
Total:582
This week:1
All time:5,047
This week:1,047Up