Login   Register  
PHP Classes
elePHPant
Icontem

Redirection Detector

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jaroslaw Miazga  >  Redirection Detector  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Redirection Detector
Base name: redirection-detector
Description: Check and retrieve the redirection URL of a page
Related classes: , , , , , , ,
Version: 1.0
PHP version: 5.0
License: Free for non-commercial use
All time users: 465 users
All time rank: 4773
Week users: 1 user
Week rank: 2419
 

  Author  
Picture of Jaroslaw Miazga
Name: Jaroslaw Miazga <e-mail contact>
Packages: 3 Browse all classes by Jaroslaw Miazga Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: ???
All time rank: 211052 in Poland Poland
Week rank: 1226 Up35 in Poland Poland Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  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

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file detect.php Example Example of using this class
Plain text file RedirectionDetector.php Class Main class

Download all files: redirection-detector.tar.gz redirection-detector.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.