PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 1,106 All time: 3,380 This week: 64Up
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: 34
All time rank: 3688 in Poland Poland
Week rank: 756 Down17 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,106
This week:0
All time:3,380
This week:64Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2330
 
Excellent
12 years ago (kishore kumar)
70%StarStarStarStar
 
For more information send a message to info at phpclasses dot org.