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: Quotes in hidden input values from %fdat not escaped correctly.

2003-01-28 Thread Gerald Richter
> When Embperl 2.0b8 outputs the value attribute for hidden input fields > from the %fdat hash, it doesn't escape the double quotes correctly, > and the %fdat value is not preserved. The problem is already fixed in the CVS version of Embperl 2.0 Gerald ---

Quotes in hidden input values from %fdat not escaped correctly.

2003-01-28 Thread David Hull
When Embperl 2.0b8 outputs the value attribute for hidden input fields from the %fdat hash, it doesn't escape the double quotes correctly, and the %fdat value is not preserved. The following Embperl code demonstrates the problem. The Embperl code: [- $fdat{testfield} = 'Say "hi".'; -]

second $escmode setting is ignored

2003-01-28 Thread David Hull
There seems to be a bug in Embperl 2.0b8 where the second and subsequent attempts to set $escmode without any normal intervening output are ignored. Here's an example of the problem. The following code: [! sub hello () { local $escmode = 0; print OUT "hello\n"; } !]

Re: Error while closing HTML::Embperl::DOC::_2::OUT:

2003-01-28 Thread Gerald Richter
> > I get following error in my embperl.log file on every request. > > -- > [21949]CUP: Error while closing HTML::Embperl::DOC::_2::OUT: Can't locate > object method "CLOSE" via package "HTML::Embperl::Out" at > /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/HTML/Embperl.pm line > 1448. >

Error while closing HTML::Embperl::DOC::_2::OUT:

2003-01-28 Thread Kamil Hanak
Hi All, I get following error in my embperl.log file on every request. -- [21949]CUP: Error while closing HTML::Embperl::DOC::_2::OUT: Can't locate object method "CLOSE" via package "HTML::Embperl::Out" at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/HTML/Embperl.pm line 1448. [21949]

Error while closing HTML::Embperl::DOC::_2::OUT:

2003-01-28 Thread Kamil Hanak
Hi All, I get following error in my embperl.log file on every request. -- [21949]CUP: Error while closing HTML::Embperl::DOC::_2::OUT: Can't locate object method "CLOSE" via package "HTML::Embperl::Out" at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/HTML/Embperl.pm line 1448. [21949]