|
|
|
Get Site Information with PHP
-2
Hello Php Coders,
We are together after a while. I'll share with you a special function that you can take a website's information with it. You can also check this url to take a look on denizli kız yurdu web pages.
I hope this codeblok will be useful for your projects.
Best codings.
We are together after a while. I'll share with you a special function that you can take a website's information with it. You can also check this url to take a look on denizli kız yurdu web pages.
I hope this codeblok will be useful for your projects.
Best codings.
<?php
// Header...
header("Content-Type: text/html; charset=utf-8");
// Function Starts Here...
function getInfo($URL){
$getInfo= get_meta_tags($URL);
return $getInfo;
}
// URL...
$URL = "http://www.bytemycode.com";
$_getInfo = getInfo($URL);
// Print.
echo "$URL <p>";
echo $_getInfo ["author"]."<p>";
echo $_getInfo ["keywords"]."<p>";
echo $_getInfo ["description"]."<p>";
echo $_getInfo ["robots"]."<p>";
?>




There are currently no comments for this snippet.