Re: require and http
| From: | Zoltán Németh | Date: | Fri, 20 Jul 2007 12:35:46 +0000 |
| Subject: | Re: require and http | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259215@lists.php.net to get a copy of this message | ||
2007. 07. 20, péntek keltezéssel 09.30-kor Suporte - DPRJ Sistemas ezt
írta:
> Checked and ON!
>
sorry I forgot that you need allow_url_include to be on too.
check that too.
btw, what do you mean by "not working"? does it throw any error? or
what?
greets
Zoltán Németh
(ps. sorry I forgot to include the list in my reply - but you forgot
that too ;) )
> Deleo
>
> ----- Original Message -----
> From: "Zoltán Németh" <znemeth@alterationx.hu>
> To: "Suporte - DPRJ Sistemas" <suporte@dprj.eng.br>
> Cc: "PHP - General List" <php-general@lists.php.net>
> Sent: Friday, July 20, 2007 9:25 AM
> Subject: Re: [PHP] require and http
>
>
> > 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
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>