note 28055 deleted from function.include by vincent

From: Date: Mon, 08 Sep 2003 15:04:37 +0000
Subject: note 28055 deleted from function.include by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55835@lists.php.net to get a copy of this message
Note Submitter: madhombre@yahoo.nospam.com ---- This will prevent a few headaches for a few beginners. When including a file in a script you have 2 ways to go URI or full path. Now for the basic stuff that it is fine but when looking to do complex stuff there are a few limitations to URI based includes. 1) You can't return a variable from the include 2) You can't change and update variables and have them usable after the include 3) Session variables will not be set So if, like me, your insane and want to do crazy stuff, use the real path if possible.

« previous php.notes (#55835) next »