Hi,
I have a script that reads in html-templates, and i want some keywords in the template to be changed into the output of another script. But if I use require() to include the script, the printout to the web browser will be instant, so I would like to redirect the standard output to a variable instead, so I can replace the keywords with the variable and later print it all out to the browser.
Please help, need it urgently!
Best regards
Masali
I have a script that reads in html-templates, and i want some keywords in the template to be changed into the output of another script. But if I use require() to include the script, the printout to the web browser will be instant, so I would like to redirect the standard output to a variable instead, so I can replace the keywords with the variable and later print it all out to the browser.
Please help, need it urgently!
Best regards
Masali