Fri, 17 May 2024


How to get the content of a web page into a single string?

By: Peter, NetArt Media
Tue, 7 December 2021

<?php
...
$strHTML=join('',file('http://www.netartmedia.net'));
...
?>


Category: PHP Examples
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox