Location: PHPKode > scripts > My Hosting Requirements > 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>Class MyHoRe</title>
</head>
<body>
<h1 align="center"> Class My Hosting Requirements ( MyHoRe )</h1>
<h2 align="center">Help to providers to offers a webhosting based it user requirements</h2>
<p align="center">By Roberto Alemán, <a href="http://www.ventics.com" target="_self">www.ventics.com</a></p>
<?php 
if(isset($_POST['submit']))
	{
echo "<center><h2/>Other calculates?</h2></center>";
};
?><form action="index.php" method="post" target="_self">
  <div align="center">
  <table border=0 cellspacing=2 cellpadding=2 background="">
    <tr>
      <td>As many as visiting per day it waits have?:</td>
      <td><input name="Visitors" type="text" value="0" size="10"></td>
    </tr>
    <tr>
      <td>As much as pages for visitors per day wait have? :</td>
      <td><input name="PageViews" type="text" Value="0" size="10"></td>
      </tr>
    <tr>
      <td>That size mediates will have each pages?:</td>
      <td><input name="PageSize" type="text" value="0" size="10"> 
        Bytes</td>
      </tr>
  </table>
<input name="submit" type="submit" id="submit" /><input name="input" type="reset" value="Reset" />
</div>
</form></div>
</div>
<?php 
require_once("myhore.php");
if(isset($_POST['submit']))
	{
		$newhore= new myhore();
		$newhore->calc_myhore($_POST[Visitors],$_POST[PageViews],$_POST[PageSize]);
	}

?>
</body>
</html>
Return current item: My Hosting Requirements