[thelist] Pass querystring to server side include

Jay Blanchard jay.blanchard at niicommunications.com
Fri Jan 21 13:32:26 CST 2005


[snip]
Does anyone know if it is possible to pass the querystring to a php file
through a server side include?

The include looks like this...

<!--#include virtual="stuff.php" -->

Unfortuneately php does not seem to have access to the environment
variables
automatically.
[/snip]

<!--#include virtual="stuff.php?thisVar=foo&thatVar=bar"-->

But why use these kinds of includes when you can use PHP's include?

http://www.php.net/include


More information about the thelist mailing list