View Single Post
  #9 (permalink)  
Old 10-18-06, 09:31 AM
Oleks Oleks is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Drunken Perl Coder
CGI scripts do not work like command line scripts where the script will wait for user input. You could simulate that behavior by not printing form2 if there is no data recieved from form1.
Hi Drunken Perl Coder,
Yes. Thank you.
This is a perfect idea, not to run that part of the script where all calculations are, if form1 is empty. I can do this by inserting if-else to the perl script to check is form1 an empty.

One more question.
My goal is to display results of perl script into the HTML page.
Is any way how to call perl script from HTML page and to return results from perl script to the HTML page?
Reply With Quote