[PHP] Keyword Tracker/Suggestion

jaran

New member
Hello guys,

This time, I have bringing script for tracking keyword to optimize SEO content. This script I've build from some resources. I hope it will help you to make as perfect or effective your work as possible.

HTML
<form action="" method="get">
<input type="text" name="q" value="">
<input type="submit" value="submit" />
</form>

PHP
PHP:
$key = (isset($_GET['q'])    ? $_GET['q']    : '');
$url = file_get_contents('http://vidyou.0xhost.net/glosary.php?key='.urlencode($key));
$xml = new SimpleXMLElement($url);
$data = $xml->keyword->list;
if(count($data) > 0){
  for($i = 0; $i < count($data); $i++){
    $keyword = $data[$i];
    echo $keyword.'<br>';
    }
  }else{
  echo 'No result.';
}

Join them into one file as name *.php then try it on your webserver. Congrats !

Note : add <?php before php script then add ?> when you want to close php rows