Re: Function declaration and use
| From: | David Robley | Date: | Tue, 26 Sep 2000 04:22:15 +0000 |
| Subject: | Re: Function declaration and use | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17516@lists.php.net to get a copy of this message | ||
On Tue, 26 Sep 2000, Matthew Harrell wrote:
> :
> : You aren't doing this on a Windows platform where you can't use remote
> : files in include and require statements?
> :
>
> No, this is Linux and Apache.
>
> : Another thing - if the URL fopen wrapper was explicitly disabled at compile
> : time, you won't be able to do it.
>
> Uh, good question. I'll have to go back and check what arguments I specified
> and whether the configure script automatically disabled it.
It should be on unless you specifically disabled it . Use phpinfo to check
your configure command
> Would this prevent the inclusion of any URL? I can seem to get the files to
> be included (or at least I can get an error if it can't find the file) but I
> can't seem to get it to treat the function the same as if it were locally
> specified.
According to the docs - yes; if URL fopen is disabled then you can only
include/require via the local file system.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA