grab posted data

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

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

$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 ;

Re: grab posted data

Quoted text here. Click to load it

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)

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

Site Timeline