Description
Test a URL for a particular string to test uptime.
Run
| View code [+] |
Create a snippet based on this »
View in new window »
<h1>Kogbox Test Suite</h1>
<p>Test URLs for a particular string to confirm uptime.</p>
<?php
include_snippet(1,"curl_pure_function");
$target = getUrlText($_REQUEST['url']);
$match = $_REQUEST['match'];
preg_match($match, $target, $out);
return $out;
?>
Comments (0) | View comments for all versions (2)
Log in if you have a Kogbox account.