Need help with eval function

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post January 15th, 2009, 10:24 pm

I have some problems when I'm using eval();. Seems like it hates me or something... or I simply don't know how to use it.

I've being trying to use it and it doesn't do what I want... what it should hypothetically do...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 15th, 2009, 10:24 pm

  • Truce
  • Guru
  • Guru
  • No Avatar
  • Joined: Apr 25, 2004
  • Posts: 1477
  • Loc: Washington DC
  • Status: Offline

Post January 16th, 2009, 11:09 am

Have you looked at the docs for it?

http://php.net/eval

While it's a complicated construct insofar as escaping content and whatnot, it's relatively straightforward as far as its functionality goes.

Really, though, it's not a good idea to use it for security purposes.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post January 16th, 2009, 2:51 pm

I have read that thing nearly ten times now...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 109 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.