[thelist] PHP Includes

John Corry john at neoncowboy.com
Tue Jan 1 20:55:37 CST 2002

|thanks, ben. one other thing - what would be the PHP equivalent of
|<#include virtual="$QUERY_STRING.inc"> ... ?

This is one of the really cool things about PHP.

link.php?var=foo.inc would allow you to call the include like:

<?php include("$var"); ?>

Variables are immediately accessible when passed via querystring.


More information about the thelist mailing list