Re: remote includes
I've tried this before but with no success, after I mention to the senior developer when I first started 6 years ago about doing that...this is what I he told me, what do I want to do that?
1. Include of remote php file is interpreted by the remote server, therefore, you are not actually getting the code and compile on the server you are on.
2. If you are want to include a file remotely, than you are sending your source via a connection(hopefully ssl) but in the case of non-secured line, people can just grab your source by listening to the wire.
Can you just copy the file to the other site?
If the php file is on the same server, can you just put that php file before the document root and make that readable by other web applications?
|