Re: require and http
| From: | Zoltán Németh | Date: | Fri, 20 Jul 2007 12:25:27 +0000 |
| Subject: | Re: require and http | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259214@lists.php.net to get a copy of this message | ||
2007. 07. 20, péntek keltezéssel 09.17-kor Suporte - DPRJ Sistemas ezt
írta:
> Hello!
>
> I am returning to PHP and having some problems.
>
> Can anyone tell me if
> require_once("http://www.mydomain.com.br/includes/teste.php")
> really do not work?
>
> If I especify the complete path for my local server (/srv/www/htdocs/mysite/php/teste.php) it
> works fine (I did it when using version 4).
>
> The manual says it works but it is not working for me.
check the allow_url_fopen setting in php.ini
http://hu2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
hope that helps
Zoltán Németh
>
> Thank you
>
> Deleo
>
> PHP 5.2.0
> MySQL 5.0.26
> Apache 2.2.3
> Suse Linux 10.2