PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 511 This week: 1All time: 5,758 This week: 571Up
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
Age: ???
All time rank: 216649 in Poland Poland
Week rank: 420 Up13 in Poland Poland Up
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:511
This week:1
All time:5,758
This week:571Up