Re: running base64 code from unknown source

From: Date: Fri, 25 Jul 2008 09:43:50 +0000
Subject: Re: running base64 code from unknown source
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277291@lists.php.net to get a copy of this message
imar81-report@yahoo.com wrote:
Hi there, I may have come into trouble when i tried to use the code i saw on a tutorial (http://www.phpeasystep.com/phptu/28.html). I am just a newbie in PHP and exploring its functions.
To be honest, unless you can think of a practical reason to fiddle around with this, I'd avoid it. eval() is a pretty dangerous thing to run on *anything* from outside your control, and there is little need to use eval() in 99% of PHP projects. Take the tutorial for what it is, a tutorial. I would use it work through what's happening but I wouldn't try and build on it in any practical project unless you have a very compelling reason. Col

« previous php.general (#277291) next »