Now I want to create a script that takes the variable name from the database and replaces it with its value. Suppose I create a post on my forum and I put {PHP_VER} in my post, I want it to display the phpversion() on my server, how would I go about doing that?
Doing a simple str_replace simply displays the text phpversion() which is not what I want... I want it to 'run the function'...
Any ideas on how I should do this?
Thanks,
Amailer
Sponsor Sponsor
octopi
Posted: Wed May 11, 2005 10:43 pm Post subject: (No subject)