PHP implode
Posted under » PHP on 21 October 2009
One of my backbone php commands of this CMS.
Let's get a web page into a string. It is often used with file php commands.
$html = implode('', file('http://www.example.com/'));
of course, you can use a local file as shown below instead of a remote file via http as shown above.
$html = implode('', file('/folder/thefile.html'));
