<?php header("Content-type: text/vnd.wap.wml"); 
header("Cache-control: no-store,no-cache,must-revalidate"); 
print '<?xml version="1.0" encoding="utf-8"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="SOURCE VIEWER">
<p align="center">';
$_GET['id'];
if($id == "") { echo"<small><small>VIEW THE SOURCE OF ANY PAGE !<br/><b>ENTER URL:</b></small></small><br/><input type=\"text\" name=\"url\" maxlength=\"999\" emptyok=\"false\" value=\"http://\"/><br/>";
echo"<small><small><anchor><b>GET</b><go href=\"sorce.php?id=result\" method=\"post\"><postfield name=\"url\" value=\"$(url)\"/></go></anchor><br/>----------";
 } if($id =="result") { echo "<small><small><b>SOURCE RESULT OF:</b><br/><a href=\"$url\">$url</a><br/>";
echo "<br/>"; $url = $_POST['url']; 
$ff= @htmlspecialchars(file_get_contents($url)); if(!$ff) { echo"<b>SITE NOT IN ACTION!!!</b><br/>";
 } if(ereg("http://",$url)) { echo"$ff";
 } else { echo"<b>SOURCE FAILED!!!</b></small>";
 } } echo "<br/>&#171; <a href=\"source.php\">BACK</a><br/><b>&#169; 2-WAP.NET</b></small></small>";
?>
</p>
</card>
</wml>