un-eval()

From: Date: Mon, 31 Oct 2005 01:46:24 +0000
Subject: un-eval()
Groups: php.general 
Request: Send a blank email to php-general+get-224852@lists.php.net to get a copy of this message
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='<input type="text" value="<?php echo "hello world"; ?>'; $oFCKeditor->Value = $contents; $oFCKeditor->Create() ; Somehow FCKeditor eval()s $content. Under normal circumstances, I would ask the FCKeditor forum to address this. I would if I could point out to them the bug. But I cannot find any instances of eval(). Does eval() have a synonym? Or can I un-eval($contents)? John

« previous php.general (#224852) next »