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 
- [EMAIL PROTECTED]

----- Original Message ----- 
From: "Robert Covell" <[EMAIL PROTECTED]>
To: "Wico de Leeuw" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> Phone: 816.210.7145
> Fax: 816.753.1952
> 
> -----Original Message-----
> From: Wico de Leeuw [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 08, 2001 9:30 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to