Quote:
Originally Posted by MarcoH64
You don't use an url when including, but a path to the php-file.
|
This is not correct.
Depending on the configuration of PHP, it is possible to pass a URL.
Quote:
Originally Posted by http://php.sparkz.no/include/
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 M 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.
|