You are including file from external server and you are accessing it via
HTTP protocol. So it will include the output of
http://200.200.1.1/Folder/Config.php and the output of that script is
nothing.
If you want to see the output just put
http://200.200.1.1/Folder/Config.phpin browser and check.
Including security warning from php.net/
Remote file may be processed at the remote server (depending on the
file extension and the fact if the remote server runs PHP or not) but
it still has to produce a valid PHP script because it will be
processed at the local server. If the file from the
Yes your right ... realizing it ... the config file is a class I use
to connect to my Database I want to store this config on myt
hosting and then I can link to it and use it at my office, or at my PC
at home
But I now realize including the php ...will just return a blank page
so
Check if
allow_url_fopenhttp://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopenis
set in php.ini otherwise you have to set it true by ini_set()
On Tue, Nov 3, 2009 at 2:44 PM, Cemal Eker cemale...@gmail.com wrote:
Including security warning from php.net/
Remote file may
You can you NFS to mount remote file system on your local system.
On Tue, Nov 3, 2009 at 2:50 PM, Anton Heuschen anto...@gmail.com wrote:
Yes your right ... realizing it ... the config file is a class I use
to connect to my Database I want to store this config on myt
hosting and then I
Hmmm yes thats another way of doing it ... Im running a Ubuntu box
..so its quite possible (how will you mount if your on XP?)
2009/11/3 Devendra Jadhav devendra...@gmail.com:
You can you NFS to mount remote file system on your local system.
On Tue, Nov 3, 2009 at 2:50 PM, Anton Heuschen
No idea about NFS on windows. But you can mount samba share in XP
On Tue, Nov 3, 2009 at 3:09 PM, Anton Heuschen anto...@gmail.com wrote:
Hmmm yes thats another way of doing it ... Im running a Ubuntu box
..so its quite possible (how will you mount if your on XP?)
2009/11/3 Devendra Jadhav
List
Subject: Re: [PHP] Using remote include config file and class in a local file
No idea about NFS on windows. But you can mount samba share in XP
On Tue, Nov 3, 2009 at 3:09 PM, Anton Heuschen anto...@gmail.com wrote:
Hmmm yes thats another way of doing it ... Im running a Ubuntu box
..so its
8 matches
Mail list logo