PHP Classes
elePHPant
Icontem

URL TS: Check whether a page with given URL exists

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-10-07 (10 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 1,103 This week: 1All time: 3,281 This week: 902Up
Version License Categories
url_ts 1.0GNU General Publi...HTTP, Validation
Description Author

This is a simple class that can be used to check whether a page with a given URL exists.

The class establishes a connection to the server of the given URL and sends an HTTP HEAD request.

If successful the class can determine whether it returns the HTTP response code.

The code 200 means the page exists. The code of 404 means the page does not exist. The code 302 means the server is redirecting the request to another location.

Picture of Jacek Wloka
Name: Jacek Wloka <contact>
Classes: 6 packages by
Country: Poland Poland
Age: 29
All time rank: 3577 in Poland Poland
Week rank: 477 Down12 in Poland Poland Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file Readmy Example Manner of use
Plain text file url_ts.php Class Class url_ts

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,103
This week:1
All time:3,281
This week:902Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:995
 
Excellent
6 years ago (kishore kumar)
70%StarStarStarStar