Preserved Topic: CGI form Input... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Fontana, Ca, USA |
posted 06-15-2000 19:44
Hey, I am trying to make a new cgi/perl program that will take the inputed data from a FORM i made, and put it into a txt file. For a news/updates thing on my site...Then have an SSI on a .shtml file that will bring it into the certain DIV on my page. |
Bipolar (III) Inmate From: Fontana, Ca, USA |
posted 06-15-2000 20:52
Wait, i think i MAY have it, can someone look at this and tell me if its the right way?: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-15-2000 22:09
Yup you pretty much have it. usually When I use the CGI perl module I dump all the info into an array like this: |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-15-2000 22:17
Can two actions be passed on post in a Form tag? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-15-2000 23:46
Hmm I don't think so but threre are a couple off work-arounds, First, is combine the two scripts. I'm not really why you want two in the first place so this is my best suggestion. Take the info/data and do everything you want to it in one script. However if you do need two use 2 scripts you have a couple of ways to go, you could use javascript to do it (you may need to use some frames or a different window or something) remember the Action attribute actually sends the client to that file with the package of data he enters into the form so you can't send him to two places in the same browser window but you could do it with a hidden frame. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-16-2000 00:20
Scenario: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-19-2000 20:32
Okay, Boudga, Did you get the CGI.pm yet? |