Login   Register  
PHP Classes
elePHPant
Icontem

File: testurlcheck.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of markitos  >  urlcheck  >  testurlcheck.php  >  Download  
File: testurlcheck.php
Role: ???
Content type: text/plain
Description: test file to view how to work it
Class: urlcheck
check if the web servers are alive or a link
Author: By
Last change:
Date: 2002-06-27 16:59
Size: 602 bytes
 

Contents

Class file image Download
<?
require_once ("claseurlcheck.php");


if ($Comprueba)
	{$UrlCheck = new urlcheck ($Url);
	$Mensaje = "ESTA VIVO: ".$Url."<br>\n";
	if (!$UrlCheck->IsAlive()){ $Mensaje = "NO ESTA VIVO: ".$Url."<br>\n"; }
	echo $Mensaje;}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
</head>

<body>


<form action="<?=$PHP_SELF?>" method="POST">
	<input type="hidden" name="Comprueba" value="si">
	Url:&nbsp;<input type="Text" name="Url" size="50"><br><br>
	<input type="submit" value="comprueba">
</form> 


</body>
</html>