Re: [PHP] remotely include file

2001-05-09 Thread Gyozo Papp
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

RE: [PHP] remotely include file

2001-05-09 Thread Ben Cairns
When PHP does a require or an include on a remote file via http, it sends a GET request to the http server that the file is on, Therefore, if this server has PHP installed on it, then the web server will parse the file before it spits it out. Thus, all of the PHP tags are stripped fom the

RE: [PHP] remotely include file

2001-05-09 Thread hassan el forkani
there is a way to prevent the remote server from parsing the file before sending it: use an extension that is not associated to php on that server (ie something like .incphp or whatever extension that is not parsed on that server) and add that extension in the receiving server's config for

RE: [PHP] remotely include file

2001-05-08 Thread Robert Covell
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

Re: [PHP] remotely include file

2001-05-08 Thread Wieger Uffink
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