Forum Moderators: coopster
ie. <? widgets_source("ht*p://www.example.com");?>
Any pointers would be most appreciated, Sid
[php.net...]
function widgets_source($url) { if($fp = file($url)) { return implode("", $fp); } else { return false; } }
<? $html2 = implode('', file(ht*p://www.foo.com)); echo "$html2"; ?>
It actually displays the whole page when viewing from a browser, but if you try inserting $html2 into a MySQL database, it will insert the html-source code.
Sid