note 73206 added to features.remote-files
| From: | Dennis at osu1 dot php dot net | Date: | Tue, 13 Feb 2007 11:56:33 +0000 |
| Subject: | note 73206 added to features.remote-files | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123314@lists.php.net to get a copy of this message | ||
Is it at all possible to include a remote file and parse it on the local machine? For example:
Local Machine:
- Configuration.php
Remote Machine:
- GlobalConfig.php
- Database.php
Configuration contains defines which are essential for the GlobalConfig. The Configuration on the
local machine includes the GlobalConfig on the remote server. The GlobalConfig includes the Database
on the remote server.
It's quite obvious I only want to include the database class source en not instantiate it on
the remote server, because the database isn't located on the remote server. The Database is
located on the local server, so the instance of the database class should be made on the local
server.
This of course is only a small example of a the idea that remote files can be parsed on a local
server.
Now is my question: Is this at all possible?
----
Server IP: 194.109.193.76
Probable Submitter: 145.89.205.218
----
Manual Page -- http://www.php.net/manual/en/features.remote-files.php
Edit -- https://master.php.net/note/edit/73206
Del: integrated -- https://master.php.net/note/delete/73206/integrated
Del: useless -- https://master.php.net/note/delete/73206/useless
Del: bad code -- https://master.php.net/note/delete/73206/bad+code
Del: spam -- https://master.php.net/note/delete/73206/spam
Del: non-english -- https://master.php.net/note/delete/73206/non-english
Del: in docs -- https://master.php.net/note/delete/73206/in+docs
Del: other reasons-- https://master.php.net/note/delete/73206
Reject -- https://master.php.net/note/reject/73206
Search -- https://master.php.net/manage/user-notes.php