note 93237 added to function.eval
| From: | mydanielsmile+php at gmail dot com | Date: | Sat, 29 Aug 2009 19:52:25 +0000 |
| Subject: | note 93237 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160036@lists.php.net to get a copy of this message | ||
About maurcie's comment:
Adding a space to a function can bypass it, its not safe to use.
For example, do safe_eval("unlink ('test');") and it will pass.
If anyone wishes to make sure eval is safe he can only do it using tokens...
----
Server IP: 82.80.248.162
Probable Submitter: 62.0.100.247
----
Manual Page -- http://www.php.net/manual/en/function.eval.php
Edit -- https://master.php.net/note/edit/93237
Del: integrated -- https://master.php.net/note/delete/93237/integrated
Del: useless -- https://master.php.net/note/delete/93237/useless
Del: bad code -- https://master.php.net/note/delete/93237/bad+code
Del: spam -- https://master.php.net/note/delete/93237/spam
Del: non-english -- https://master.php.net/note/delete/93237/non-english
Del: in docs -- https://master.php.net/note/delete/93237/in+docs
Del: other reasons-- https://master.php.net/note/delete/93237
Reject -- https://master.php.net/note/reject/93237
Search -- https://master.php.net/manage/user-notes.php