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 Junda
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 to
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;
some other stuffs will be here--
print $query-redirect('http://google.com');
When i run this code
How do you run it? Is the script URL in the
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
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 is
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;
some other stuffs will be here--
print $query-redirect('http://google.com');
When i run this
hi All,
Thanks for all your replies...
Actually i tried the small program like below:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
some other stuffs will be here--
print $query-redirect('http://google.com');
When i run this code i am getting a blank page with the following
printed in
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]
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;
some other stuffs will be here--
What other stuffs? If those other stuffs output body text, it'll be too
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;
some other stuffs will be here--
What other stuffs? If those
Praveena Vittal wrote:
#!/usr/bin/perl
use CGI;
my $query =new CGI;
some other stuffs will be here--
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
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;
some other stuffs will be here--
print $query-redirect('http://google.com');
When i run this code
How do you run it? Is the script
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
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 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
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.
quote
NAME
perlfaq9 - Networking ($Revision: 1.15 $, $Date:
Hi ,
I want to redirect to a different url with the parameters in the post
method.
Any help is appreciated.
Thanks in advance,
Praveena
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
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:
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
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 request
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
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 a request other
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
23 matches
Mail list logo