Think about Loose Coupling | |
PerlMonks |
Re: triggering a program in web serverby bm (Hermit) |
on Aug 18, 2003 at 10:41 UTC ( [id://284534]=note: print w/replies, xml ) | Need Help?? |
The first question that comes to my mind is: why do you need two scripts for this? The public cannot read your cgi-script (assuming a correctly configured webserver and filesystem permsissions). Having said that.... Simply call your 2nd program like any other system call ( system, exec, ...) from within your first script. Be aware that if you do call an external program, you should:
-- bm
In Section
Seekers of Perl Wisdom
|
|