Re: $r-args vs $r-content

2002-05-15 Thread Richard Clarke
] Subject: Re: $r-args vs $r-content Quoting Mike Melillo [EMAIL PROTECTED]: Hi, One of the fields is an image file that will be uploaded so I need to use POST requests. Is this a job for Apache::Request? The eagle book doesn't cover it much because it was experimental at the time of publishing

Re: $r-args vs $r-content

2002-05-14 Thread Issac Goldstand
Quoting Mike Melillo [EMAIL PROTECTED]: Hi, One of the fields is an image file that will be uploaded so I need to use POST requests. Is this a job for Apache::Request? The eagle book doesn't cover it much because it was experimental at the time of publishing. There's a version 1.0

Re: $r-args vs $r-content

2002-05-13 Thread Todd Finney
At 10:29 PM 5/13/02, Mike Melillo wrote: It works, but if I use the method in the eagle book for POST requests %params = $r-content; then nothing gets returned. I've even printed %params to the apache errlog with DataDumper, and its empty. One of the fields is an image file that will be

RE: $r-args vs $r-content

2002-05-13 Thread Mike Melillo
No, It specifies multipart/form-data because page 131 of the eagle says its used for file uploads. Mike -Original Message- From: Todd Finney [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 11:16 PM To: [EMAIL PROTECTED] Subject: Re: $r-args vs $r-content At 10:29 PM 5/13/02

RE: $r-args vs $r-content

2002-05-13 Thread Todd Finney
To: [EMAIL PROTECTED] Subject: Re: $r-args vs $r-content At 10:29 PM 5/13/02, Mike Melillo wrote: It works, but if I use the method in the eagle book for POST requests %params = $r-content; then nothing gets returned. I've even printed %params to the apache errlog with DataDumper, and its empty

Re: $r-args()

2001-08-30 Thread princepawn
Robert Landrum writes: sub escaped { my $val = shift; $val =~ s/(\W)/sprintf(%%%.2X,ord($1))/g; return $val; } my $content = join('',map{$_.=.escaped($r-param($_))}($r-param)); my $internal_url = /some/path/to/handler?$content;

Re: $r-args()

2001-08-29 Thread Robert Landrum
At 9:36 AM -0700 8/29/01, Rasoul Hajikhani wrote: Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form data, pnotes may be used.

Re: $r-args()

2001-08-29 Thread Rasoul Hajikhani
Robert Landrum wrote: At 9:36 AM -0700 8/29/01, Rasoul Hajikhani wrote: Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form

Re: $r-args()

2001-08-29 Thread Robert Landrum
Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the POSTED data. Performing a redirect causes posted data to be discarded. Your

Re: $r-args()

2001-08-29 Thread Tom Servo
Once you change the method to GET and put the content in with $r-args();, it becomes GET data from the query_string. All the POST data is lost when you call content(), so you can no longer read it as POST data with $r-content() again. Brian Nilsen [EMAIL PROTECTED] On Wed, 29 Aug

Re: $r-args()

2001-08-29 Thread Rasoul Hajikhani
Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the POSTED data. Performing a redirect causes

Re: $r-args()

2001-08-29 Thread Robert Landrum
At 11:19 AM -0700 8/29/01, Rasoul Hajikhani wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the

Re: $r-args()

2001-08-29 Thread Ken Williams
[EMAIL PROTECTED] (Rasoul Hajikhani) wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the

Re: $r-args()

2001-08-29 Thread Rasoul Hajikhani
Robert Landrum wrote: At 11:19 AM -0700 8/29/01, Rasoul Hajikhani wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to

Re: $r-args troubles...

2000-04-12 Thread Jason Murphy
lp. PS. The only reason I say this on the mailing list is to get it in to the mailing list archives because I could not my solution there when I looked. From: "Doug MacEachern" [EMAIL PROTECTED] To: "Jason Murphy" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 11, 2000 8:52 PM Sub

RE: $r-args troubles...

2000-04-07 Thread Geoffrey Young
you are calling Apache::Request-new incorrectly - see the docs :) -Original Message- From: Jason Murphy [mailto:[EMAIL PROTECTED]] Sent: Friday, April 07, 2000 2:07 PM To: [EMAIL PROTECTED] Subject: $r-args troubles... Dear Mod_Perl'lers I hate to bug the list with this

Re: $r-args troubles...

2000-04-07 Thread Doug Kyle
It goes like this: my $r = Apache-request; my $apr = Apache::Request-new($r); -- Doug Kyle - Information Systems Grand Rapids Public Library "We're superheros man, we don't have time to be charming . . . we're public servants, not glamour boys" - The Tick. Jason Murphy wrote: Dear

Re: $r-args missing data

1999-12-02 Thread Ken Y. Clark
On Thu, 2 Dec 1999, Christian Gilmore wrote: We just updgraded from apache-1.3.3/mod_perl-1.16 to apache-1.3.9/mod_perl-1.21 on solaris-2.5.1. $r-args does not contain any data for us now when it did before during the URI translation phase. [ snip ] The module: package TransTest; use