note 24765 added to function.include

From: Date: Wed, 28 Aug 2002 07:16:04 +0000
Subject: note 24765 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-35844@lists.php.net to get a copy of this message
A very short and simplemethod do include a file is: (Very nice with $_GET and $_POST) if (!@include("$_GET[$var].php)) include("$another_file.php"); - fekalius -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+24765 http://master.php.net/manage/user-notes.php?action=delete+24765 http://master.php.net/manage/user-notes.php?action=reject+24765

« previous php.notes (#35844) next »