Forum Moderators: coopster
The only problem that the information I need in the HTML is generated from a database on the external site, so the information I need is not in the HTML on my site if I use include, fopen etc.
I was wondering if there was a way to get the HTML source directly or Cache it somehow?
Any help would be appreciated :)
[php.net...] :
$handle = fopen("http://www.example.com/", "r");
You can also use file_get_contents(). According to the developers, file_get_contents() [php.net] is the preferred way to read the contents of a file into a string.