PHP Classes

File: demo/index.php

Recommend this page to a friend!
  Classes of Kishor Mali   PHP Website SEO Tools   demo/index.php   Download  
File: demo/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Website SEO Tools
Analyses a given page to evaluate SEO aspects
Author: By
Last change:
Date: 5 years ago
Size: 528 bytes
 

Contents

Class file image Download
<?php

require_once "SeoReport.php";

if(isset(
$_POST["url"])){
   
   
$url = $_POST["url"];
   
   
$report = new SeoReport($url);
   
   
$reqHTML = $report->getSeoReport();
}

?>
<DOCTYPE html>
<html>
<head>
<title>SEO Report Demo</title>
</head>
<body>
<h1>SEO Report Demo</h1>
<br><br><br>
<form action="index.php" method="post">
URL : <input type="text" name="url" />
<p>You must enter valid url</p>
<br><br>
<input type="submit" value="submit" />
</form>
<br>
<br>
<br>
<?php

if(isset($reqHTML)){
    echo
$reqHTML;
}
?>

</body>
</html>