All I need to know how to switch between using the current script to parse a form versus routing to an external cgi script. This needs to be done when the user clicks on the submit button. You'll have to forgive me but my prior experience with javascript is very minimal. While I can construct...
The existing CGI script does not contain any javascript. I have to set up some sort of conditional to handle two different form parsers and was told that javascript could accomplish this using the onsubmit option.
~N8
"Be not afraid of greatness. Some are born great, some achieve greatness...
<td><input type="SUBMIT" value="Refill"/>
<td><input type="RESET" value="Clear"/>
~N8
"Be not afraid of greatness. Some are born great, some achieve greatness, and some have greatness thrust upon `em." - Twelfth Night, II:5
Thanks for the reply KevinADC. How would you suggest I go about setting up the conditional for the submit button?
~N8
"Be not afraid of greatness. Some are born great, some achieve greatness, and some have greatness thrust upon `em." - Twelfth Night, II:5
Thanks for the reply Diancecht. The form needs to submit two different ways depending on the phone#.
If phone# = xyz
then
submit to old CGI script
else
parse form data with perl CGI
~N8
"Be not afraid of greatness. Some are born great, some achieve greatness, and some have greatness...
Greetings. We are migrating our sites from an existing C based CGI script to a more functional Perl based app. During the transition we need to be able to route the user/customer to one script or the other based on the phone number they input. I'd like to set up some sort of conditional...
Thanks for the reply 1DMF. I'll try to pursue it from that angle.
~N8
"Be not afraid of greatness. Some are born great, some achieve greatness, and some have greatness thrust upon `em." - Twelfth Night, II:5
Thanks for the reply Kirsle. I'm thinking it might be easier to set up some sort of conditional statment within the new perl script for the submit button.
If phone# = xyz
then
submit to old CGI script
else
continue with perl CGI
Is it possible to do something like that?
~N8
"Be...
Greetings. We are migrating our sites from an existing C based CGI script to a more functional Perl based app. During the transition we need to be able to route the user/customer to one script or the other based on the phone number they input. Both of the CGI scripts are written by third...
Greetings. We are attempting to update our systems to be compliant with the recent date changes for daylight savings time. Our UNIX software vendor does not offer a compatable patch to modify the calculations for the DST switch. However, UNIX makes the calculations using libc. My thought is...
Thanks for the response PHV. I was looking for something to actually change the dates for the DST switch. According to SCO's Knowledge Center, the 5.0.7 MP5 "install[s] a new version of the libc runtime library that calculates DST correctly for year 2006, 2007 and beyond". To that point can't...
SCO has decided to leave 5.0.4 users high and dry when it comes to the DST update for 2007. Since upgrading is not an option for our company, my thought is that I can "fix" this problem with a simple date command. What I am wondering is if there is a way to manually control the DST with some...
Thanks for the quick reply, Chris. Ideally what I would like to do is have the end user enter the site# which would pass to one script or the other, similar to a cookie but without the security concerns. I would like to avoid a major rewrite as our 100+ sites will be transitioning to the new...
Greetings. Currently we are submitting and validating our form data internally via C programs. We will be gradually moving to a third-party company for the validation piece and their forms are being submitted via Perl. During the transition period we will need to have both validation methods...
Greetings. I am looking for a Samba client to run Openserver 5.0.4. All I have been able to locate has been the source for compiling. I have 100+ machines that I will have to install so that could get tedious. Does anyone know of a distribution that has already been compiled for Openserver...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.