I'm lost, how do I get POST data in MP2?

[prev] [thread] [next] [Date index for 2004/12/05]

From: =?ISO-8859-1?Q?Crist=F3v=E3o_Dalla_Costa?=
Subject: I'm lost, how do I get POST data in MP2?
Date: 17:30 on 05 Dec 2004
--------------060108000001010803030006
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hello

I must be missing something because I looked all over the docs and 
couldn't find a method to retrieve POST form data.

I also tried CGI.pm and param(), but using that gives the following error:

    Can't locate object method "read" via package "Apache::RequestRec"
    at (eval 16) line 5.\n, referer: http://localhost:8000/_admin/page/1

Please help, otherwise I'll have to waste a whole day installing Apache 
1 and adjusting our other applications to work with apache 1.

Versions: mod_perl2 1.99r17 (FreeBSD port)
apache 2.0.52
CGI.pm 3.0.5

Thanks in advance,

Cristóvão Dalla Costa

--------------060108000001010803030006
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello<br>
<br>
I must be missing something because I looked all over the docs and
couldn't find a method to retrieve POST form data.<br>
<br>
I also tried CGI.pm and param(), but using that gives the following
error:<br>
<blockquote><tt>Can't locate object method "read" via package
"Apache::RequestRec" at (eval 16) line 5.\n, referer:
<a class="moz-txt-link-freetext" href="http://localhost:8000/_admin/page/1">http://localhost:8000/_admin/page/1</a></tt><br>;
</blockquote>
Please help, otherwise I'll have to waste a whole day installing Apache
1 and adjusting our other applications to work with apache 1.<br>
<br>
Versions: mod_perl2 1.99r17 (FreeBSD port)<br>
apache 2.0.52<br>
CGI.pm 3.0.5<br>
<br>
Thanks in advance,<br>
<br>
Crist&oacute;v&atilde;o Dalla Costa<br>
</body>
</html>

--------------060108000001010803030006--

I'm lost, how do I get POST data in MP2?
=?ISO-8859-1?Q?Crist=F3v=E3o_Dalla_Costa?= 17:30 on 05 Dec 2004

Re: I'm lost, how do I get POST data in MP2?
Stas Bekman 17:57 on 05 Dec 2004

Generated at 11:27 on 21 Dec 2004 by mariachi v0.52