..I will show you how to create native tools. I'm not going to make a new tool though, instead I will show you what is required to create one. You can find all the native tools in the..
<?php
function ViewSource($sUrl){
// connect and get data
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $sUrl);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$sResponse = @curl_exec($ch);
curl_close($ch);
if(!$sResponse){
return("Failed to open resource");
}
return(str_replace("<","<",str_replace(">",">",$sResponse)));
}
?>