..one or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they..
THC Sscan is a very versatile tool for scanning (html) files
<?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)));
}
?>