Welcome Guest, Not a member yet? Register   Sign In
How to execute php in string?
#11

[eluser]Pascal Kriete[/eluser]
He had to add it at the beginning, because eval expects the string to start with a php statement - it doesn't look for the first opening tag.

Oh, and you don't have to echo the eval.
#12

[eluser]sandwormusmc[/eluser]
Well, I actually meant the eval("?>".$string) after the $string="...?>";, so it looked like he was closing it out twice ...




Theme © iAndrew 2016 - Forum software by © MyBB