/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // header set function getInfo($URL){ return $getInfo; } $URL = "http://www.joyent.com"; $_getInfo = getInfo($URL); echo "$URL <p>"; echo $_getInfo["author"]."<p>"; echo $_getInfo["keywords"]."<p>"; echo $_getInfo["description"]."<p>"; echo $_getInfo["robots"]."<p>"; ?>
URL: http://snippets.symfony-project.org/snippet/409