Hi All,
I'm trying to access php-code on another url:
Local php-code test.php:
ob_start();
include( "http://www.mysite.eu/ext.php");
echo "Local call!";
echo "External call: ".GetExternal( );
ob_end_flush();
?>
And the code on the other url in ext.php:
<?php
function GetExternal( )
{
$output = "This is external text";
return $output;
}
?>
My page comes up with the error:
Local call!
Fatal error: Call to undefined function GetExternal() in D:\Develop\www\test\test.php on line 6
Can someone give me a hint on how to solve this ??
Thanks in advance!
Regards,
disc