Re: $fdat not working when using POST

2004-04-21 Thread Dan Manley
for us using Embperl 1.3.x. Dan -Original Message- *From:* Gerald Richter [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, April 20, 2004 3:12 PM *To:* Dan Manley; [EMAIL PROTECTED] *Subject:* Re: $fdat not working when using POST Hi, > > I am writing in re

RE: $fdat not working when using POST

2004-04-20 Thread Dan Manley
3.x.   Dan -Original Message-From: Gerald Richter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 3:12 PMTo: Dan Manley; [EMAIL PROTECTED]Subject: Re: $fdat not working when using POST Hi,   > > I am writing in reference to the problem stated above in some e

Re: $fdat not working when using POST

2004-04-20 Thread Hoenie Luk
Hello Dan, I was the original author of that message. It turned out that there was a hidden .htaccess file in my /www directory. In that file, there is a line that forbid submitting by POST. Once a delete the .htaccess file, POSTing worked again. I did not put the .htaccess file there -- that'

Re: $fdat not working when using POST

2004-04-20 Thread Gerald Richter
Title: Message Hi,   > > I am writing in reference to the problem stated above in some emails> from early in 2003.  The last message I found on the list was this:> http://www.ecos.de/~mailarc/embperl/2003-02/msg00022.html  > > What was the resolution to this problem?  I seem to be encounter

Re: $fdat not working when using POST

2004-04-20 Thread Dan Manley
Title: Message Hi Gerald,   I am writing in reference to the problem stated above in some emails from early in 2003.  The last message I found on the list was this: http://www.ecos.de/~mailarc/embperl/2003-02/msg00022.html   What was the resolution to this problem?  I seem to be encountering

Re: $fdat not working when using POST

2003-02-04 Thread Gerald Richter
> > It does have 'CONTENT_LENGTH' => 34. Does it sound right? > Yes, this sounds right. I don't have a idea what's wrong here. You could try to set $ENV{EMBPEL_DEBUG} = $Embperl::Constant::dbgForm ; at the top of your embpcgi.pl and see what /tmp/embperl.log will look like Gerald ---

Re: $fdat not working when using POST

2003-01-30 Thread Hoenie Luk
...Hoenie Hi, both output show REQUEST_METHOD=GET. Seems like you didn't insert the POST version. Can you please repeat it with POST. With POST you should also see a variable CONTENT_LENGTH, if you don't see it the server messes up something and the POSTed data doesn't arrive at Embperl at all Gerald -

Re: $fdat not working when using POST

2003-01-29 Thread Gerald Richter
Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 - - Original Message - From: "Hoenie Luk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 7

Re: $fdat not working when using POST

2003-01-28 Thread Hoenie Luk
Hi Gerald, I did what you suggested. My page has a button named "enter" with value "ENTER WEB SITE". Using POST method, I pressed the button and here's the output: (notice $VAR2 at the end is empty). $VAR1 = { 'QUERY_STRING' => '', 'SERVER_ADDR' => '64.71.178.180', 'HTTP_ACCEPT_LANGUAGE' => '

Re: $fdat not working when using POST

2003-01-28 Thread Gerald Richter
> This is the setup of my web host. > > No mod_perl, I'm using embpcgi.pl. Apache 1.3.7 (I think) and Embperl > 2.08b. I think these versions are pretty up-to-date. > I guess you mean Apache 1.3.27, 1.3.7 would be very old... Could you try to add the following code to the top of you page, post

Re: $fdat not working when using POST

2003-01-27 Thread Gerald Richter
> Then I ftp the page to my web host running Linux and Apache. All of a > sudden, $fdat{enter} is always undefined even when the button is pressed. > In fact, %fdat is always empty. So the same page reload as if it was > accessed for the first time. > > I did find that if I change the method to GET

$fdat not working when using POST

2003-01-22 Thread Hoenie Luk
I have been developing an embperl page on my local Windows machine with Apache 1.3.6 installed. It has a button named "enter" and when pressed, the form pass the query strings by POST method to the same page, and I can detect a value in $fdat{enter}. So everything is working fine. Then I ftp th

$fdat not working when using POST

2003-01-22 Thread Hoenie Luk
I have been developing an embperl page on my local Windows machine with Apache 1.3.6 installed. It has a button named "enter" and when pressed, the form pass the query strings by POST method to the same page, and I can detect a value in $fdat{enter}. So everything is working fine. Then I ftp th