i need to develop a new tool.This is what i need to do: I will enter a website name.Then for this l need to display the html source code of this page.thanks for any help provided.
swetha
Start with this:
<?php $handle = fopen("http://www.google.com", "r"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); echo nl2br(htmlentities($buffer)); } fclose($handle); } ?>
<?php highlight_string(file_get_contents('http://wwwphpbuilder.com')); ?>