brentnewbury
Programmer
I posted a problem a few days ago about using templates.
The problem was that when I get the template of an Access database, and then Response.Write() the template, the asp within the template would not execute, because ASP just sends the Response.Write() straight to the browser without checking it or executing code.
I know that vBulletin uses templates, but they are coding in PHP, so, I got an illegal version of the internet to see the logic behind templates. (Please remember, I am not installing it or copying code from vBulletin, just using simple logic). I searches for ages, then I realised, that vBulletin use something called eval().
This is a function that does exactly what I needed, but it was in PHP. It checks the string
eval($template[home_page])
to see if there is any code then excutes any code, and THEN sends it to the browser...
My real question is:
DOES ANYONE KNOW OF ANY FUNCTION WITHIN ASP TO DO EXACTLY WHAT EVAL() DOES????????
Thnx for your time,
Brent Newbury
The problem was that when I get the template of an Access database, and then Response.Write() the template, the asp within the template would not execute, because ASP just sends the Response.Write() straight to the browser without checking it or executing code.
I know that vBulletin uses templates, but they are coding in PHP, so, I got an illegal version of the internet to see the logic behind templates. (Please remember, I am not installing it or copying code from vBulletin, just using simple logic). I searches for ages, then I realised, that vBulletin use something called eval().
This is a function that does exactly what I needed, but it was in PHP. It checks the string
eval($template[home_page])
to see if there is any code then excutes any code, and THEN sends it to the browser...
My real question is:
DOES ANYONE KNOW OF ANY FUNCTION WITHIN ASP TO DO EXACTLY WHAT EVAL() DOES????????
Thnx for your time,
Brent Newbury