RE: Unserializing objects containing PHP code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I am currently serializing some PHP objects and storing them in MySQL.
> When I pull them out of MySQL, I unserialize them and use them. Some
of
> these objects contain PHP code inside of arrays. I'd like to execute
> that PHP code rather than display it. Any ideas how to accomplish
this?
> (btw: I'd like to /not/ write the contents to a temp file and include
it)

eval() is probably what you want.

www.php.net/eval

---John Holmes...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux