in reply to Calling two scripts.
You apparently are trying your hand at CGI programming, and you don't know anything about CGI. I suggest you read about CGI before attempting to write programms using the CGI.