PHP Classes

File: testurlcheck.php

Recommend this page to a friend!
  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: 19 years ago
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>
For more information send a message to info at phpclasses dot org.