View file .script.php

File size: 1.09Kb
<?php /*
Made by:
ИНОЙ.org
WAP-site:
http://inoy.org
E-mail:
[email protected]
MetaScan */
error_reporting(0);
echo '<div class="t">МетаСкан</div>';
if(isset($_GET['url'])) {
if(!empty($_GET['url'])) {
$url=preg_replace("/^[^http:\/\/(http:\/\/|https:\/\/)]*http:\/\/(http:\/\/|https:\/\/)/i","\\1",'http://'.$_GET['url']);
echo '<div class="t3">'.htmlspecialchars($_GET['url']).'</div>';
if($data=get_meta_tags($url)) {
foreach($data as $key => $type) {
echo '<div class="t3">
<div class="t2">'.htmlspecialchars($key).':</div>
'.htmlspecialchars($type).'
</div>';
} } else {
echo '<div class="e">Не найдено!</div>';
} } else {
echo '<div class="e">Не введён адрес!</div>';
} } else {
echo '<div class="t3">
<div class="t2">ЧАВО</div>
Смотрим содержимое мета-тегов xHTML страницы..
</div>';
}
echo '<form action="'.$PHP_SELF.'" method="get"><div class="form">
URL:<br/>
<input class="t" type="text" name="url" value=""/>
<input type="submit" value="ok"/>
</div></form>'; /*
http://[email protected] (c)
*/ ?>