Re: [PHP] un-eval()

2005-10-30 Thread John Taylor-Johnston
I guess I won the powerball $100 million. I'd feel better with the cash ;) John Robert Cummings wrote: Does eval() have a synonym? The infinite set of source code permutations that can output the word 'red' as a sole output regardless of whatever other logic may occur within the content of $code

Re: [PHP] un-eval()

2005-10-30 Thread Robert Cummings
On Sun, 2005-10-30 at 21:15, Chris Shiflett wrote: > John Taylor-Johnston wrote: > > Does eval() have a synonym? > > I don't usually like to answer a question with a question, but consider > this: > > eval($code); > > This produces the following output: > > red > > Given this, what was the va

Re: [PHP] un-eval()

2005-10-30 Thread Chris Shiflett
John Taylor-Johnston wrote: Does eval() have a synonym? I don't usually like to answer a question with a question, but consider this: eval($code); This produces the following output: red Given this, what was the value of $code? Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy htt

[PHP] un-eval()

2005-10-30 Thread John Taylor-Johnston
Does eval() have a synonym? I store html in a mysql record, extract it into $contents. Under normal circumstances, I have to eval($contents) to get any embedded php code to work. But when I use FCKeditor: http://testesp.flsh.usherb.ca/~johj2201/ramtest.php $contents=''; $oFCKeditor->Value