On 07/02/2006, at 3:02 AM, Carl Vanderpal wrote:
Cool thanks..got it working...but is there any reason why I can't
do this on the fly and pump straight out to the same page, or is it
quicker to create the templates and include them?
:)
You can't do the one line REReplace because there's no way to execute
code for each match (that's more a Ruby sort of thing). You could
probably do it with a REFind returning match positions in a few lines
of code, but I actually think this is more efficient both in lines of
code and work for your CPU - I imagine the templates change
relatively infrequently, so it seems a shame to re-parse them for
substitutions every time you send one.
Robin
______________
Robin Hilliard
Director - RocketBoots Pty Ltd
Professional Services for Macromedia Technologies
http://www.rocketboots.com.au
For schedule/availability call Pamela Higgins:
w +61 7 5451 0362
m +61 419 677 151
e [EMAIL PROTECTED]
or Direct:
m +61 418 414 341
f +61 2 9798 0070
e [EMAIL PROTECTED]
*** Register for WebDU http://www.mxdu.com 2-3 March 2006 ***