Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
This function takes a link url and returns an array of info needed to see if the link is good. If the link is bad or the server is down, the return will be an empty array.
The example code given shows how to check links stored in a MySQL database and store the link status.
|
|
A regular expression to match a URL (http and https) in a text and replace it with the A tag.
It also matches only www links (written without http://).
And it doesn't include a possible character at the end of the link!
MOSTLY CODED BY STAN!!! thanx!
report any bugs an other features to <a href="mailto:bugs@rawurl.nl">me</a>
|
|
This simple script validate any valid link or URL.
Just write the concerned link in the text box and push the verify button.
|
|
It's a build on ones that were made before, I just added the part to actually check if the file exists. I need to modify the caching thing to care about the file part... or maybe not.
|
|
This is a simple PHP code that lets you see if a link is valid before<br> displaying it on your Web page. It is useful since you can have live links,<br> but your site can become slow as the script checks the link before<br> displaying the link. Just imagine if you got 100 links to check.
|
|
An enhanced form of <a href=http://php.klik.or.id/>Idban</a>'s <a href="http://www.zend.com/codex.php?id=201&single=1">valid link!</a>, a PHP script that lets you a test a link for the host's connectivity before
displaying it. Enhancements include: cache in session and test for absolute/relative links.
<p>
Note that, despite its name, this script does <i>not</i> truely test whether a link is valid. A valid link should return a 200 HTTP status code, which this script does not test. What this script test is whether the web/FTP server of the link is reachable and listening (that is, from server that host the script to the link host, anyway, not from the viewer's computer to the link host :-p). But the script still could be somewhat useful to some of you, I guess.
|