note 84437 added to function.eval

From: Date: Mon, 14 Jul 2008 14:09:40 +0000
Subject: note 84437 added to function.eval
Groups: php.notes 
Request: Send a blank email to php-notes+get-141486@lists.php.net to get a copy of this message
If you are using external file to get evaled content, and don't want to make this code accessible via webserver. Save it in *.php file and put code this way: // Can't access this file! <?php if(!defined('PROPPER_ACCESS')) exit(); $strVar = 'code for evaluation here!'; // ?> Server will parse this file, and so visitor won't be able to see it's contents. Eval will consider opening tags as a commentary, so it won't return any error. ---- Server IP: 69.147.83.197 Probable Submitter: 195.117.227.66 ---- Manual Page -- http://www.php.net/manual/en/function.eval.php Edit -- https://master.php.net/note/edit/84437 Del: integrated -- https://master.php.net/note/delete/84437/integrated Del: useless -- https://master.php.net/note/delete/84437/useless Del: bad code -- https://master.php.net/note/delete/84437/bad+code Del: spam -- https://master.php.net/note/delete/84437/spam Del: non-english -- https://master.php.net/note/delete/84437/non-english Del: in docs -- https://master.php.net/note/delete/84437/in+docs Del: other reasons-- https://master.php.net/note/delete/84437 Reject -- https://master.php.net/note/reject/84437 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141486) next »