Location: PHPKode > scripts > Link Searcher > link-searcher/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search Links</title>
</head>

<body>
<form name="search_links" method="post">
<h2 align="center">Search Links</h2>
<table width="446" border="0" align="center">
  <tr>
    <td width="91">Enter URL : </td>
    <td width="190"><input name="url" type="text" size="50" value="<?=@$_POST['url']?>"/></td>
  </tr>
  <tr>
    <td>Enter Regex : </td>
    <td><input name="regex" type="text" size="50" value="<?=@$_POST['regex']?>"/></td>
  </tr>
  <tr>
    <td>Enter Link to Search : </td>
    <td><input name="link_to_search" type="text" size="50" value="<?=@$_POST['link_to_search']?>"/></td>
  </tr>
  <tr>
    <td>Enter Search Depth : </td>
    <td><input name="depth" type="text" size="5" value="<?=@$_POST['depth']?>"/></td>
  </tr>
  <tr>
    <td colspan="2" align="center"><input name="submit" type="submit" />&nbsp;</td>
  </tr>
</table>
</form>
<?
if(isset($_POST['regex']))
	{
		include "link_searcher.php";

        $search_links=new SearchLinks($_POST['url'],$_POST['depth'],$_POST['link_to_search'],$_POST['regex']);
        $search_links->Search();
	}
?>	
</body>
</html>
Return current item: Link Searcher