Saving param after new recall of a cgi script

2009-11-27 Thread Marek
Hello all! Hope that I can explain my problem clearly: 1. I have a long form, created from a "xyz.cgi" (action="" that means is empty) 2. The user fills up the form and sends (action="send") The parameters are send with an self reference to the same "xyz.cgi". This script examines with severa

Re: Saving param after new recall of a cgi script

2009-11-27 Thread Robert Roggenbuck
You should store the values from step 2 at step 3 in hidden parameters (type="hidden" ...>). The You can access them via CGI in step 4. An alternative would be storing the whole CGI-object in a file using Data::Dumper and recreate it using 'do $file'. Greetings Robert Marek schrieb: Hello

Loading results (via ajax) from a CGI

2009-11-27 Thread buzon
I have a CGI (made with cgi.pm) that receive a parameters, check against a DB and returns a text with "not found" or "OK found" message. Pretty simple. In other site, i have an ajax routine that sends the parameters (via get) and is expected to capture the resulting page, but is not worki

Re: Loading results (via ajax) from a CGI

2009-11-27 Thread Alexander Krasnorutsky
On Fri, 2009-11-27 at 05:58 -0800, bu...@alejandro.ceballos.info wrote: > I have a CGI (made with cgi.pm) that receive a parameters, check > against a DB and returns a text with "not found" or "OK found" > message. Pretty simple. > > In other site, i have an ajax routine that sends the paramet

Re: Saving param after new recall of a cgi script

2009-11-27 Thread Greg Jetter
On Thursday 26 November 2009 12:35:48 pm Marek wrote: > Hello all! > > > Hope that I can explain my problem clearly: > > 1. I have a long form, created from a "xyz.cgi" (action="" that means > is empty) > 2. The user fills up the form and sends (action="send") The > parameters are send with an se