PHP Classes

Find Redirect URL: Determine the URL to that a page redirects

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 563 All time: 5,427 This week: 673Up
Version License PHP version Categories
curl-redirect-url 1.0Freeware4.0HTTP
Description 

Author

This class can be used to determine the URL to that a page redirects.

It can send an HTTP request to a given URL and check the response headers to determine if the server wants to redirect to another URL.

It may follow the redirect URLs recursively if the requests to the target URL also redirect to another URL.

The class returns the final URL to where the redirection headers point.

Picture of murali
Name: murali <contact>
Classes: 1 package by
Country: India India

  Files folder image Files (2)  
File Role Description
Plain text file class.php Class Find redirect URL using cURL function
Accessible without login Plain text file FindURL.php Example Find redirect URL using cURL function

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:563
This week:0
All time:5,427
This week:673Up