Neznam presne kontext vasi diskuze, ale to, ze je mozne includovat soubory ze vzdaleneho serveru je naprosto zdokumentovana funkce, nerekl bych, ze se na tom bude neco menit a vyznam je celkem jasny (php skript se interpretuje na cizim serveru, vygeneruje textovy dokument a ten obsah se includne - tj. se opet interpretuje), krome toho:
If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), you can specify the file to be included using a URL (via HTTP or other supported wrapper - see Appendix N, List of Supported Protocols/Wrappers for a list of protocols) instead of a local pathname. If the target server interprets the target file as PHP code, variables may be passed to the included file using a URL request string as used with HTTP GET. This is not strictly speaking the same thing as including the file and having it inherit the parent file's variable scope; the script is actually being run on the remote server and the result is then being included into the local script. |