Re: readfile and get_file_contents don't work
| From: | David Grant | Date: | Thu, 24 Nov 2005 08:59:34 +0000 |
| Subject: | Re: readfile and get_file_contents don't work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226402@lists.php.net to get a copy of this message | ||
Hi Richard,
Please ensure that the "allow_url_fopen" directive is set to "On" in
your php.ini file.
Cheers,
David Grant
Richard K. Miller wrote:
> I compiled PHP from source on Fedora Core 4, but I must have left
> something out because readfile and get_file_contents aren't working. If
> I try to connect to a "http://" address I get the
> error "failed to open
> stream: HTTP request failed". Any ideas why?
>
> Richard
>
> --PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>