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,111 This week: 1All time: 3,384 This week: 560Up
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: 37
All time rank: 3708 in Poland Poland
Week rank: 411 Down14 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,111
This week:1
All time:3,384
This week:560Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2620
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar