PHP Classes
elePHPant
Icontem

Redirection Detector: Check and retrieve the redirection URL of a page

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-06-29 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 504 All time: 5,517 This week: 942Up
Version License PHP version Categories
redirection-detector 1.0Free for non-comm...5.0HTML, HTTP, PHP 5
Description Author

This class can be used to check and retrieve the redirection URL of a page.

It can check if accessing a given page redirects the browser to another page, either via response headers or meta tags.

The class returns the redirection URL if the browser would be redirected to another page.

Innovation Award
PHP Programming Innovation award nominee
July 2010
Number 6
When a browser accesses a Web page, the server can send an HTTP header to redirect the browser to another page.

However, there are other ways to redirect a browser to another page, like for instance using HTML META tags.

This class provides a solution to detect whether the browser will be redirected to another page, by detecting both HTTP and HTML META tag redirection.

Manuel Lemos
Picture of Jaroslaw Miazga
Name: Jaroslaw Miazga <contact>
Classes: 3 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file detect.php Example Example of using this class
Plain text file RedirectionDetector.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:504
This week:0
All time:5,517
This week:942Up