note 68026 deleted from function.include by philip

From: Date: Tue, 11 Jul 2006 06:29:54 +0000
Subject: note 68026 deleted from function.include by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-114651@lists.php.net to get a copy of this message
Note Submitter: tecbrat at yahoo dot com Reason: in docs ---- to pass variables in an include statement, use either include("http://www.mydomain.com/myinclude.php?myvar=xyz"); or $myvar='xyz'; include("/home/mysite/public_html/myinclude.php"); //or your server's equivilent. Remember that the in the first method, the php is parsed, thus leaving functions and classes from the included file unavailable.

« previous php.notes (#114651) next »