Re: remotely include file
| From: | Gyozo Papp | Date: | Wed, 09 May 2001 10:20:36 +0000 |
| Subject: | Re: remotely include file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52071@lists.php.net to get a copy of this message | ||
hi,
my tips for include remote PHP files.
first :
allow_url_fopen in php.ini,
at last:
note that neither include nor require for remote file does not work inder Windows.
best,
Papp Gyozo
- pgerzson@freestart.hu
----- Original Message -----
From: "Robert Covell" <rcovell@rolet.com>
To: "Wico de Leeuw" <wico@cnh.nl>; <dbrander@snowflake.ch>;
<php-general@lists.php.net>
Sent: 2001. május 8. 16:18
Subject: RE: [PHP] remotely include file
> I tried the exact same thing. I have a whole slew of the classes that have
> been developed and wanted to centrally locate them on one server. But every
> time I included the class, it said cannot instantiate non-existent class
> "Blah Blah Blah". But when I copied over the file, it worked like a charm.
> Any ideas why this would occur?
>
> Sincerely,
>
> Robert T. Covell
> President / Owner
> Rolet Internet Services, LLC
> Web: www.rolet.com
> Email: rcovell@rolet.com
> Phone: 816.210.7145
> Fax: 816.753.1952
>
> -----Original Message-----
> From: Wico de Leeuw [mailto:wico@cnh.nl]
> Sent: Tuesday, May 08, 2001 9:30 AM
> To: dbrander@snowflake.ch; php-general@lists.php.net
> Subject: Re: [PHP] remotly include file
>
>
> At 15:40 8-5-2001 +0200, Dominic Brander wrote:
> >Hi
> >I'm trying to include some php3 files via http.
> >one part of the php files is on a regular server and the other part is
> >on an secure server.
> >Instead of duplicating all the files for both servers I would like to
> >include them via http.
> >How does it work?
>
> Like :
>
>
> include("http://www.somehost.ext/path/to/include/include.php");
>
> :)
>
> Greetz,
>
> Wico
>
> >thanx
> >
> >domnic
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-general-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>