require using url
| From: | Nigel_Soon at advanis dot ca | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | require using url | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61849@lists.php.net to get a copy of this message | ||
Hi,
I'm having a problem using require with a url. What I'm trying to do is
have a php script on a server that calls a file on another server using
require. The file that is called on the other server contains php
functions that the calling php script uses.
I my attempts so far I get:
Fatal error: Call to undefined function: login() in
/usr/home/nigels/public_html/survey01/survey.php on line 51
survey.php is the script that has the require line:
require("http://host.server.com/functions.php");
I really appreciate your help.
Thanks,
Nigel