>The manual reads
>include (\"http://someserver/file.php?varone=1&vartwo=2\";);
>and...
>require($DOCUMENT_ROOT . \"/header.html\");

As you can see the upper one among the above line refers
to opening a remote file for inclusion via http.
If it the server is somewhat properly configured
you will not be able to download the script source for execution from there,
so it makes sense to pass parameters.
Which HTTP fortunately supports.

Unfortunately, local file systems do not necessarily support passing parameters to 
files being openend for read access.
Wich wouldn\'t make sense, because it\'s just being read, not executed.

It will tough be executed _after_ being read... As a part of the current runtime 
environment, sharing the same variable namespace, and stuff.






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to