Storing Form Data without submitting it.

2003-11-26 Thread Marcus Willemsen
Hi everybody, I' m not sure this is the right list to ask this kind of question but I don't know where else. We are using html forms to insert and update news articles (texts) stored in a mysql database. Ever so often one of our journalists forgets to press the submit button or his computer cr

Redirecting to a different url with cgi

2003-11-26 Thread Ash Singh
What is the perl code to redirect to a new url, in cgi.  All I need is to execute a perl script and when its done to redirect the clients browser to a new location. I am running Windows 2000 and IIS.   Developer eMessageX.com Tel: +27 (0)11 789 1808 Fax: +27

Re: Storing Form Data without submitting it.

2003-11-26 Thread Wiggins d Anconia
> > Hi everybody, > > I' m not sure this is the right list to ask this kind of question but I don't know where else. We are using html forms to insert and update news articles (texts) stored in a mysql database. Ever so often one of our journalists forgets to press the submit button or his com

Re: Redirecting to a different url with cgi

2003-11-26 Thread Wiggins d Anconia
> > What is the perl code to redirect to a new url, in cgi. All I need is to > execute a perl script and when its done to redirect the clients browser to a > new location. > I am running Windows 2000 and IIS. > > If you are using CGI.pm then it has a 'redirect' method: http://search.cpan.o

Re: Storing Form Data without submitting it.

2003-11-26 Thread Andrew Gaffney
Wiggins d Anconia wrote: Hi everybody, I' m not sure this is the right list to ask this kind of question but I don't know where else. We are using html forms to insert and update news articles (texts) stored in a mysql database. Ever so often one of our journalists forgets to press the submit bu

RE: Storing Form Data without submitting it.

2003-11-26 Thread Bob Showalter
Andrew Gaffney wrote: > > I believe there is an HTTP status code that tells the browser that > the form was successfully submitted, but not to go anywhere. I don't > know what it is off the top of my head, but I think it would work in > this case. Would that be 204 No Content? http://www.w3.org

CGI Redirection

2003-11-26 Thread Ash Singh
print $query->redirect('http://www.google.com ');   Thanks a lot for your assistance, I need to redirect and the browser automatically go to that location, without any user intervention.  Is there any way to do this.     Developer eMessageX.com Tel: +27 (0)1

Re: Storing Form Data without submitting it.

2003-11-26 Thread Todd W.
"Wiggins D Anconia" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > > Hi everybody, > > > > I' m not sure this is the right list to ask this kind of question but > I don't know where else. We are using html forms to insert and update > news articles (texts) stored in a mysql

RE: CGI Redirection

2003-11-26 Thread Charles K. Clarkson
Ash Singh <[EMAIL PROTECTED]> wrote: : print $query->redirect('http://www.google.com '); : Thanks a lot for your assistance, I need to redirect : and the browser automatically go to that location, : without any user intervention. Is there any way to : do this. It depends upon your definiti

Re: Redirecting to a different url with cgi

2003-11-26 Thread Aman Raheja
#!/usr/bin/perl   use strict;use CGI qw(:standard);   my $url = ""        ## The URL to be redirected to print redirect($url);   Aman Raheja AGF Technologies http://www.agftech.com       - Original Message - From: Ash Singh To: [EMAIL PROTECTED] S