Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
backticks in iwperl
pawlr
I'm using FormAPI now to call a .cgi onSaveDone. The .cgi then executes iwpt_compile to generate the .html from the dcr-tpl combination passed to the cgi.. This is pretty cool since generation is automatic when the user clicks "save" in the data record, so they don't have to name .html files manually, etc. etc. But my next problem is..
Right now my path to perl in the .cgi is to iwperl, and my perl chops are weak. i've got "use CGI" in my perl but can only use the system() command , when I'd like to use the backtick instead (want to assign output to a scalar).
Then I could return the output as a javascript value in the hidden frame, which would open up the CLTs for use from the datacapture.cfg.. what do you all think?
This also raises some security issues with the backticks, I'd expect.. but as long as the datacaptures are locked I don't think there needs to be much concern. Am I wrong?
Find more posts tagged with
Comments
There are no comments yet