PHP Classes
elePHPant
Icontem

WAP Redirect: Redirect mobile phone users

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 578 All time: 4,961 This week: 1,201Up
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
Age: 31
All time rank: 161092 in India India
Week rank: 542 Up40 in India India Up

Details provided by the author  
/************* 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:578All time:4,961
 This week:0This week:1,201Up