RE: [PHP-WIN] Failed opening for inclusion
| From: | Ross Fleming | Date: | Thu, 04 Apr 2002 22:59:56 +0000 |
| Subject: | RE: [PHP-WIN] Failed opening for inclusion | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12940@lists.php.net to get a copy of this message | ||
Should do, make sure that u have
allow_url_fopen=On
in your php.ini
however, I don't know if it does server redirects. Oh also make sure you're
using v4.0.5 (i think) or later?
Throwing myself wide open to shouts of "you're wrong!!" people firebombing
my house and laughing at me in the street and.... sigh yes I'm drunk again
Ross
-----Original Message-----
From: LaserJetter [mailto:newsaddress@saracenvsu.org.uk]
Sent: 04 April 2002 21:01
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Failed opening for inclusion
I didnt think you can do that. It might work if you left out the http:// and
domain.com was the domain of your server. You usually have to do the local
path e.g. /usr/include/file.txt or c:/usr/include/file.txt.
"Sonia" <chronopia@euxia.net> wrote in message
news:20020327140410.34917.qmail@pb1.pair.com...
> If your server run at Linux : yes.
> But about windows it seems not.
>
> I would like to know if there is a solution.
>
>
> "Alberto. Sartori" <alberto.sartori@cellnetwork.it> a écrit dans le
message news:
B02E00B4416A134B9641A93060D2BDDD6481E6@exgbgmb01.europe.cellnetwork.com...
> You can do this? use an URL as an argument for include?
>
> -----Messaggio originale-----
> Da: Sonia [mailto:chronopia@euxia.net]
> Inviato: mercoledì 27 marzo 2002 13.39
> A: php-windows@lists.php.net
> Oggetto: [PHP-WIN] Failed opening for inclusion
>
>
> Hie all,
>
> Do someone knows why i've got an error when my script is:
>
> <?
> include ("http://domain.com/test.php")
> ?>
>
>
> Error : Failed opening 'http://domain.com/test.php'
> for inclusion
> (include_path='')
>
> Other include on my localhost (server : IIS5) are ok
>
>
> Thanks all
>
> French kiss
> Sonia
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php