Hi,
I want to stream a dynamicly created web page from another domain into a text file.
I have tried the following but it doesn't work as intended:
$html = "http://www.otherdomain.com/pagename.php";
$file = fopen('t.txt', 'w');
fwrite ($file,$html);
echo $html;
fclose($file);
this stores http://www.otherdomain.com/pagename.php into the file not the generated page source that would appear when the page is executed in a web browser.
does anyone know the command(s) that i need to do this.
Thanks in advance
Anthony Irwin