Re: Execute php commands that are in an array

From: Date: Thu, 05 Jun 2008 16:46:35 +0000
Subject: Re: Execute php commands that are in an array
Groups: php.general 
Request: Send a blank email to php-general+get-275066@lists.php.net to get a copy of this message
Hey all! Disregard my last email as i solved it myself via eval()... Cheers! R Hey, its easier to start with code and then explain: $t_array[]='chr(rand(97,122))'; echo $t_array[0]; The above code outputs chr(rand(97,122)) How can i execute that above code from the array instead of displaying it? Thanks! Ryan ------ - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-)

« previous php.general (#275066) next »