Forum Moderators: coopster

Message Too Old, No Replies

access a file through another server

access a file through another server

         

vivek avasthi

6:16 am on Aug 16, 2006 (gmt 0)

10+ Year Member



how can i access a file and its function through a remote server.? can anyone help me...

mack

10:20 am on Aug 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I believe this will depend on how the servers are configured. For example if php is running in safe mode it wont allow it's self to be included within a file on another server.

Mack.

coopster

2:58 pm on Aug 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



using php's file functions is going to retrieve a "parsed" version of the file, or it's outputted contents, not the raw php code as you expect. Here is another recent discussion that may be beneficial:
Include a php file that is online - not local [webmasterworld.com]