Hi,

I think the webserver on the remote machine parses the PHP-file. You can
see this happen if you type in the url youre trying to include in your
browser. No php code there, just html

I dont think what youre trying to do is possible. If it were youd have
one hell of a security hole on your webserver :)

bye
Wieger 

Robert Covell wrote:
> 
> 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]

-- 
Wieger Uffink
tel: +31 20 428 6868
fax: +31 20 470 6905
web: http://www.usmedia.nl

-- 
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