ok, this is probably very basic but here's my situation...
im trying to access a functions.php file that is stored on one server using code on another server...
on server 1 i have:
functions.php which has a few lines of code:
<?php
function print_name($name)
{
echo $name;
}
?>
on server 2 i have the file:
test.php with the code:
<?php
include("http://pathtofile/functions.php");
print_name("dave");
what im getting is Fatal Error: Unknown Function...
BUT i know that the file is getting included and executed because if i put just a simple echo command in functions.php on server 1, test.php on sserver 2 will print it out...
so my question is:
WHY WONT THE FUNCTION DECLARATIONS GET RECOGNIZED?
if anyone can help me i'd love you. Thanks!!!!