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:[EMAIL PROTECTED]]
Sent: 04 April 2002 21:01
To: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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" <[EMAIL PROTECTED]> a écrit dans le
message news:
[EMAIL PROTECTED]
> You can do this? use an URL as an argument for include?
>
> -----Messaggio originale-----
> Da: Sonia [mailto:[EMAIL PROTECTED]]
> Inviato: mercoledì 27 marzo 2002 13.39
> A: [EMAIL PROTECTED]
> 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


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to