/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // Get all the related keywords from Google Suggest $u = "http://google.com/complete/search?output=toolbar"; $u = $u . "&q=" . $_REQUEST['msg']; // Using the curl library since dreamhost doesn't allow fopen // Parse the keywords and echo them out to the IM window $result = $xml->xpath('//@data'); echo $value ."<br>"; } ?>
URL: http://www.labnol.org/internet/tutorial-create-bot-for-gtalk-yahoo-messenger/4354/
Comments
