View file index.php
<?php ## UPFILE.MOBI - the best wap file hosting ## require_once("pagerank.php"); echo '<form action="index.php" method="post"> URL:<br/><input name="url" type="text" value="'.$_REQUEST['url'].'" /> <input type="submit" value="check" /></form>'; if(!empty($_POST['url'])) { echo "Google pagerank is <b>".getpagerank($_POST['url'])."</b> from <b>10</b>"; } ?>