Re: passing GET via include

From: Date: Fri, 04 May 2007 11:09:24 +0000
Subject: Re: passing GET via include
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-254394@lists.php.net to get a copy of this message
Am Freitag, 4. Mai 2007 09:22 schrieb Mark Smith: > Hello all, > Is there a way to allow the passing of variables to included scripts See it another way: The includED script will be part of the includING script. ---------------includeme.inc----------------- <?php $message="Hello!\n"; ?> ---------------includer.php------------------ <?php include('includeme.inc'); echo $message; ?> ------------------------------------------------- Will be the same as ---------------dont_like_inclusions.php------------------- <?php $message="Hello\n"; echo $message; ?> --------------------------------------------------------------- Regards, Oliver

« previous php.general (#254394) next »