Re: require using url
| From: | Tyler Longren | Date: | Wed, 08 Aug 2001 16:11:30 +0000 |
| Subject: | Re: require using url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61850@lists.php.net to get a copy of this message | ||
What's on line 51? The error is on line 51 in survey.php. require()
Tyler Longren
Captain Jack Communications
tyler@captainjack.com
www.captainjack.com
isn't on line 51. The error occurs because there's no login() function.
On Wed, 8 Aug 2001 10:08:01 -0600 (Mountain Daylight Time)
<Nigel_Soon@advanis.ca> wrote:
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>