Navigation :

Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




Site Sponsors :

Bookmark :

Links :

domain names
wwwstores
low cost magazines

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!




Valid link

This example checks whether a link is valid or not

<?php

$url = fsockopen("www.google.com", 80, &$errno, &$errstr, 30);
if(!$url) {
//site is down
echo "<b>Google is <font color=\"red\">down!!</font></b>\n"; }
//site is up
else
{
echo("<a href=\"http://www.google.com\">Google</a>");
}

?>