You can try to implode the data from the other page like this...
$data = @implode('', @file("http://mysite.com/myfile.php) );
if ($data) {
echo "$data";
} else {
echo 'Nope cant implode it.';
}
rubbish wrote:
I wonder with the include statement:
include "myfile.php";
can I use it to retrieve a php file from a different domain or site?
I tried:
include "http://mysite.com/myfile.php";
but it didn't work :-)
any idea's?