I've been going thru forum after forum looking for an answer to this, but can find nothing, so I hope someone here can help.
Say I have a string, and inside it is the text ::include(/includes/snippets/snippet.php)::
what i'd like to do is find that text, extract the text from between the ::'s and eval() it, then do a preg_replace to insert the code generated back in - can someone help, I have no idea how to do regex's.
some1 who knows regex + eval pls help!!!
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users