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
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
>
> 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
>
> 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
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
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
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
"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
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
#!/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
10 matches
Mail list logo