PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 586 This week: 1All time: 5,277 This week: 560Up
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: 39
All time rank: 1695100 in India India
Week rank: 411 Up26 in India India Up

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:586
This week:1
All time:5,277
This week:560Up