grab posted data

G

George Mpouras

I want to catch row data posted to a CGI script.
No url params are defined.

STDIN
$q->param('POSTDATA')
$q->param('PUTDATA') are blank

The only success I have is the $q->param(keywords)
it returns the data until the first space .
Any hint ;
 
G

George Mpouras

George Mpouras said:
I want to catch row data posted to a CGI script.
No url params are defined.

STDIN
$q->param('POSTDATA')
$q->param('PUTDATA') are blank

The only success I have is the $q->param(keywords)
it returns the data until the first space .
Any hint ;

Ok fixed, At "client" script the "$req->content_type('text/html');" did the
magic trick, so now data are at POSTDATA of server script, (without using
forms and temporary files)

.....
my
$req = HTTP::Request->new();
$req->uri($Url);
$req->method( 'POST' );
$req->content_type('text/html');
$req->header ( 'MIME_Version' => '1.0', 'Accept' => 'text/html, text/plain,
image/*' );
....
$req->content ( $bindata );
....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,213
Messages
2,571,105
Members
47,698
Latest member
TerraT521

Latest Threads

Top