> > I need to send the parameters via POST method without any confirmation
> > from the users...
>
> 2) return HTML containing a hidden form and submit it by JavaScript.
> Of course this will not work if the user disables JavaScript.
>
> HTH, Jenda
Not strictly Perl but I think this site does what
From: Praveena Vittal <[EMAIL PROTECTED]>
> Can you please tell me the reason for the same?
"Can you please tell me the reason for THAT?"
> I need to send the parameters via POST method without any confirmation
> from the users...
You can't ! You can't force the browser to send a POST request
Praveena Vittal wrote:
Gunnar Hjalmarsson wrote:
Praveena Vittal wrote:
Gunnar Hjalmarsson wrote, On 08/27/2007 07:36 PM:
Praveena Vittal wrote:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
print $query->redirect('http://google.com');
When i run this
Praveena Vittal schreef:
> Gunnar Hjalmarsson:
>> If
>> you want us to help you debug your code, you need to post a short but
>> _complete_ program that exhibits the problem you are having.
>
> Please find the part of the code i used for redirection
>
> The function below is called when a button
Please find the part of the code i used for redirection
The function below is called when a button is pressed in a cgi page
sub do_reactivation() {
return if validate_check("Re-Activation",$query->param);
my $url = 'https://sustain-54.central/cgi-bin/sams3_portal/activation.cgi';
print $query-
Praveena Vittal wrote:
Gunnar Hjalmarsson wrote, On 08/27/2007 07:36 PM:
Praveena Vittal wrote:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
print $query->redirect('http://google.com');
When i run this code
How do you run it? Is the script URL in the
Hi All,
see my comments inline
Gunnar Hjalmarsson wrote, On 08/27/2007 07:36 PM:
Praveena Vittal wrote:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
print $query->redirect('http://google.com');
When i run this code
How do you run it? Is the scrip
Praveena Vittal wrote:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
print $query->redirect('http://google.com');
When i run this code
How do you run it? Is the script URL in the action attribute when
POSTing an HTML form? In that case, and if you want
Mumia W. wrote, On 08/27/2007 03:58 PM:
On 08/27/2007 03:50 AM, Praveena Vittal wrote:
hi All,
Thanks for all your replies...
Actually i tried the small program like below:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
What other stuffs? If those ot
On 08/27/2007 03:50 AM, Praveena Vittal wrote:
hi All,
Thanks for all your replies...
Actually i tried the small program like below:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
What other stuffs? If those other stuffs output body text, it'll be too
l
On 08/26/2007 07:47 PM, Gunnar Hjalmarsson wrote:
[...]
Btw, is this technique properly documented anywhere, or would it be a
suitable addition to perlfaq9?
It's not asked that frequently.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
htt
hi All,
Thanks for all your replies...
Actually i tried the small program like below:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
print $query->redirect('http://google.com');
When i run this code i am getting a blank page with the following
printed in
yitzle wrote:
On 8/26/07, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
Btw, is this technique properly documented anywhere, or would it be a
suitable addition to perlfaq9?
Its not a Perl technique. Its part of the HTTP specs.
NAME
perlfaq9 - Networking ($Revision: 1.15 $, $Date: 2003/01/31
On 8/26/07, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Mumia W. wrote:
snip
> Btw, is this technique properly documented anywhere, or would it be a
> suitable addition to perlfaq9?
Its not a Perl technique. Its part of the HTTP specs.
PS Why do my emails show up on the www.codecomments.com f
Mumia W. wrote:
Mumia W. wrote:
On 08/25/2007 04:32 PM, Gunnar Hjalmarsson wrote:
Jeff Pang wrote:
2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
I want to redirect to a different url with the parameters in the
post
method.
Well,see 'perldoc CGI' and specially check for,
param,
redirect.
On 08/25/2007 07:39 PM, Gunnar Hjalmarsson wrote:
Mumia W. wrote:
On 08/25/2007 04:32 PM, Gunnar Hjalmarsson wrote:
Jeff Pang wrote:
2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
I want to redirect to a different url with the parameters in the post
method.
Well,see 'perldoc CGI' and spec
yitzle wrote:
On 8/25/07, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
So I don't think that 307 is the proper status code for a redirect via a
POST request.
307 sounds right. The user agent (ie usually the internet browser)
will tell the user that there is a redirect, does the user want to
p
On 8/25/07, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> >>> 2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
> I want to redirect to a different url with the parameters in the post
> method.
> This is the last para of that section:
> "If the 307 status code is received in response to
Mumia W. wrote:
On 08/25/2007 04:32 PM, Gunnar Hjalmarsson wrote:
Jeff Pang wrote:
2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
I want to redirect to a different url with the parameters in the post
method.
Well,see 'perldoc CGI' and specially check for,
param,
redirect.
How do you comb
On 08/25/2007 04:32 PM, Gunnar Hjalmarsson wrote:
Jeff Pang wrote:
2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
I want to redirect to a different url with the parameters in the post
method.
Well,see 'perldoc CGI' and specially check for,
param,
redirect.
How do you combine a POST reques
Jeff Pang wrote:
2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
I want to redirect to a different url with the parameters in the post
method.
Well,see 'perldoc CGI' and specially check for,
param,
redirect.
How do you combine a POST request and a 'Location:' header (which is
what CGI::red
2007/8/25, Praveena Vittal <[EMAIL PROTECTED]>:
> Hi ,
>
> I want to redirect to a different url with the parameters in the post
> method.
>
Well,see 'perldoc CGI' and specially check for,
param,
redirect.
Good luck!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
22 matches
Mail list logo