note 32011 deleted from function.include by sniper

From: Date: Tue, 04 Nov 2003 00:41:56 +0000
Subject: note 32011 deleted from function.include by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59789@lists.php.net to get a copy of this message
Note Submitter: junk123@cscoders.com ---- One of the previous posts mentioned that you cannot have a return value from a URI included file. This is not exactly true. What you can do is this: myfile.php <? include ('http://www.abc.com/second.php'); echo $var_I_want_to_see; ?> second.php <? echo '<?$var_I_want_to_see = "I can see it";?>'; ?> and the page will output I can see it

« previous php.notes (#59789) next »