| 
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <title>Page Render Tool</title>
 <link rel="stylesheet" href="style.css">
 </head>
 <body>
 <table class="Table_Border_Gray" align="center">
 <tr>
 <td class="normal">
 <form action="page-render-index.php" method="POST">
 
 Enter urls one per line Like:  <b><i>http://www.website.com/page.html</i></b>:
 <br><textarea name="urls" cols="100" rows="10" ><?=$_REQUEST['urls']?></textarea><br><br>
 <br>
 <input type="submit" value="Go" name="submited">
 <input type="hidden" name="checkFlag" value="1">
 </form>
 </td>
 </tr>
 </table>
 </body>
 <?
 
 if(isset($_REQUEST))
 {
 $checkFlag = $_REQUEST['checkFlag'];
 $urls=$_REQUEST['urls'];
 $urls=explode("\n",$urls);
 
 switch ($checkFlag)
 {
 case 1:
 {
 if(count($urls)==0)
 {
 echo '<center><font class=Arial color=red><br>Please enter url<br></font></center>';
 break;
 }
 
 //getting meta tags
 $res=array();
 include 'pageContent.php';
 $meta=New getPageContents;
 foreach($urls as $k=>$url)
 {
 $url=trim($url);
 if(strlen($url)>0)
 {
 $url=str_replace('http://','',$url);
 $url='http://'.$url;
 $res[$url]=$meta->getValues($url);
 }
 }
 
 include 'results.php';
 }
 }
 }
 ?>
 
 </html>
 
 
 
 |