Jason Wong wrote: >On Saturday 17 January 2004 01:50, Dagfinn Reiersøl wrote: > > > >>Yes. I read the manual which provides no clear explanation (I suspect >>that whoever wrote it didn't actually know how it works). So I decided >>to test it. It does exactly what you say it does. I made an include file >>like this: >> >> > >In defence of the manual writers, the manual says: > >... the script is actually being run on the remote server and the *result* is >then being included into the local script. > >What is not clear about that? > > > Ehhhh...
Well... Reading that one sentence and knowing for sure what the correct answer is, it's crystal clear. When I read the whole explanation the first time and was slightly confused already, it was like a wandering through a foggy night. This sentence, for instance: "If the target server interprets the target file as PHP code, variables may be passed to the included file using an URL request string as used with HTTP GET. " I read "as used with" as meaning that "this is not quite the same thing as an HTTP GET", whereas in fact it is an HTTP GET. And thinking about it now, I realize that it could hardly be anything else. Which also means that the phrase about interpreting the file as PHP code is slightly misleading, since presumably the same comment would apply to a JSP or any other dynamic Web page, as long as its *output* is PHP code. I think that's enough linguistics for now. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php