I'm trying something simple, and it won't work... was wondering if it's just me, or some feature I can't find.
On my webserver I have a file, test.php.inc
And then on my local machine...
And the output is
test 1 2 3
Warning: Call to undefined function: what() in script.php on Line 3
So it's obviouslly succesfully including the file as it does the echo, but the functions aren't available. Works fine for local files obviouslly, anyone know what may be going on?
On my webserver I have a file, test.php.inc
Code:
<?php
echo "testing 1 2 3";
function testVal() {
return 101;
}
?>
Code:
<?php
include('[URL unfurl="true"]http://remoteserver/test.php.inc');[/URL]
echo testVal();
?>
test 1 2 3
Warning: Call to undefined function: what() in script.php on Line 3
So it's obviouslly succesfully including the file as it does the echo, but the functions aren't available. Works fine for local files obviouslly, anyone know what may be going on?