note 24765 deleted from function.include by vincent

From: Date: Mon, 08 Sep 2003 15:07:17 +0000
Subject: note 24765 deleted from function.include by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55838@lists.php.net to get a copy of this message
Note Submitter: fekalius@web.de ---- [Editor's note: WARNING This code can be a big security hole, be sure to never trust user input (in particular GET input), and always check it before using it in the manner described in this contributed note. WARNING WARNING] 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");

« previous php.notes (#55838) next »