Jump to content

oozo

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

oozo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi i have a database in wich I want to store php code. Using eval I can easily execute the php exept when I want to load a template in this file. Expample: a DB cell contains: <? $array = array(1=>'bla', 2=>'bla2', 3=>'bla3'); foreach ($array as $v){ echo $v. "<br>"; } ?> <form name="tesdt" action="eeee" method="post"> &nbsp;<input type="text" name="ttt" value="ttttt" /> </form> This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>. <? echo "hello" ?> I would like to extract the php bits so I can eval these bits. Can anybody help me? I am not very good in preg stuff. Cheers and thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.