Embperl discards newlines in tag parameters?

2005-02-14 Thread Neeme Vool
Hi! I use SetEnv EMBPERL_SYNTAX "Embperl" SetEnv EMBPERL_RECIPE EmbperlXSLT and if I type then result in HTML is still value="a b c". Seems _ep_sa function discards newlines? Neeme Vool [EMAIL PROTECTED] Codewiser OÜ Tel. +372 5151195 Fax. +372 7409988 http

Garbled POST data

2004-08-23 Thread Neeme Vool
est SetEnv EMBPERL_OBJECT_BASE _base.epl in a directory. If I POST things to some subdir like /test/index.html then everything is ok, but if I post to /index.html, then Embperl receives only GET-ted parameters, but as soon I change method to POST, then Emberl doesnt get anything in %fdat Neeme V

RE: Probs with Embperl, LibXSLT

2004-08-16 Thread Neeme Vool
: push @$ep, {'type' => $xsltproc, stylesheet => [EMAIL PROTECTED], $param -> xsltparam?():(param => \%Embperl::fdat) } ; to: push @$ep, {'type' => $xsltproc, stylesheet => [EMAIL PROTECTED], $param -> xsltparam } ; Neeme Vool [EMAIL PROTECTED] Codewiser OÜ

make Embperl warn or croak on invalid XML

2004-05-12 Thread Neeme Vool
arn, break. How I make it at least warn me about xsl not conforming DTD? Neeme Vool Codewiser Tel. +372 7 381 666 Faks +372 7 409 988 GSM +372 5151195 MSN [EMAIL PROTECTED] Email [EMAIL PROTECTED] http://www.codewiser.com - To u

cgi_env - URGENT!

2002-02-22 Thread Neeme Vool
Hi! I use from mod_perl handler Apache::SSI->handler($r) call, which among other files must parse requests for sometimes it works, sometimes not, into error log appear Can't locate auto/HTML/Embperl/cgi_env.al in @INC (@INC contains: ... search for that even doesnt return anything ..

RE: AUTOLOAD in embperl subs

2001-12-17 Thread Neeme Vool
>I never tried AUTOLOAD with Embperl, also it seems to be a cool idea, >but as >far as I can tell from my mind I don't think the first method can work >within Embperl 1.x, while in 2.0 it should work. >Gerald Hm, but is some trick like that AUTOLOAD possible this way: [! package Foo; sub AUT

AUTOLOAD in embperl subs

2001-12-17 Thread Neeme Vool
Hi! When I tried something like [$ sub AUTOLOAD $] [$ endsub $] in Embperl page, it caused segfault to apache. Somehow, following works: [! package Foo; sub AUTOLOAD { # code } !] and in other page I load subs like usual with import and I can call [-Foo::nonexisting($arg)-] Is fir

Expensiveness in embperl subs

2001-11-01 Thread Neeme Vool
Hi! Which is more expensive (memory and processing time) I want to use some functions on two pages, but one, say A is very rarely executed, B is very heavily. Is it better to have embperl subs in B and use them in A throught Execute with import=>1 or put subs into C and import to both? Or write

RE: Embperl Webhosting

2001-09-13 Thread Neeme Vool
Here in Estonia is presence of KPNQWEST, quite large ISP with good connectivity to all world. They are quite open minded for new things and support embperl. You can even write your own apache handlers and do mod_perl stuff. Kpnqwest has presence in many countries. Neeme Vool

Coldfusion problem

2001-09-06 Thread Neeme Vool
. Can I make coldfusion resign from parsing in just one dir? Neeme Vool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

document embperl code

2001-08-10 Thread Neeme Vool
request page somepage.epd (EmbPerlDoc) (actual page is somepage.html) then I get instead of results of EmbPerl parsing the docs? Neeme Vool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

notfound.html

2001-08-02 Thread Neeme Vool
Hi! When you request a document in EmbperlObject and it is not found then is searched notfound.html and displayed it. But can I determine which file was originally searched? Neeme Vool - To unsubscribe, e-mail: [EMAIL

multiple reposts

2001-05-03 Thread Neeme Vool
osted data is presented to user. But when user presses reload button on browser, then it posts the data again. Of course it asks, but can I avoid this behaviour at all? Neeme Vool Tel: +372 7 302 113 Fax: +372 7 302 111 E-mail: [EMAIL PROT

Re: ping.epl

2001-04-09 Thread Neeme Vool
or name, you should [- # code print OUT $output; # code -] an at last, usually embperl caches entire page before outputting. You must force it to give results as they appear. And anyway it depends on browsers decisions how to render the page. Neeme Vool

Apache mod_perl gets blinded (@INC)

2001-03-21 Thread Neeme Vool
ly in declared @INC path. And is accessible. Problem disappear after Apache restarts. And appears again for some time. Neeme Vool Tel: +372 7 302 113 Fax: +372 7 302 111 E-mail: [EMAIL PROTECTED] On Wed, 21 Mar 2001, Gerald Richter wrote: > > > > If not a call to get the path to

Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

2001-02-27 Thread Neeme Vool
et Apache run other scripts and all starts over again. Is it possible that Apache's Registry module corrupts Embperls ISA array? And finally I'll get error messages even with this simple page [-$self=shift-] blah Neeme Vool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

2001-02-27 Thread Neeme Vool
(@param) { my ($name,@value)=split(/\s+/,$param); $params{$name}=join(' ',@value); } } causes crashes, but if (@param) { foreach $param (@param) { ($name,@value)=split(/\s+/,$param); $param

Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

2001-02-27 Thread Neeme Vool
ine? I know that in parent directory is handler Apache::Regisrty, nut I override it by HTML::EmbperlObject. Neeme Vool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

2001-02-27 Thread Neeme Vool
DESTROY$/) { *$UNIVERSAL::AUTOLOAD = sub {}; } else { my ($s,$m,$t,$pv,$tu,$as)=localtime(); warn "$t:$m:$s $pv.$tu.$as - TIGHT LOOP!!!: $class can't `$UNIVERSAL::AUTOLOAD'!\n"; } } BUT, if I remove this I'll get errors that just like my EmbperlObject files

Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

2001-02-27 Thread Neeme Vool
can't > `HTML::Embperl::DOC::_9::ExecuteReq'! > 18:32:4 27.1.101 - TIGHT LOOP: can't > `HTML::Embperl::DOC::_9::CleanupSession'! > 18:32:4 27.1.101 - TIGHT LOOP: can't `HTML::Embperl::DOC::_9::SubReq'! > 18:32:4 27.1.101 - TIGHT LOOP: can't `HTML::Embp

Re: Setting %udat Cookie expiry time

2001-02-27 Thread Neeme Vool
32:4 27.1.101 - TIGHT LOOP: can't `HTML::Embperl::DOC::_9::SubReq'! 18:32:4 27.1.101 - TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Error'! 18:32:4 27.1.101 - TIGHT LOOP: can't `HTML::Embperl::DOC::_9::FreeRequest'! Neeme Vool Tel: +372 7 302 113 Fax: +372 7 302 11

Re: Upload file size limit

2001-02-22 Thread Neeme Vool
print FILE $buffer; } another way is to use CGI MAX_UPLOAD capabilities. Neeme Vool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: multipart/form-data and fdat

2001-02-21 Thread Neeme Vool
IMHO there was a problem that in Embperl.pm is ONLY conditional $ENV{'CONTENT_TYPE'}=~m|^application/x-www-form-urlencoded| but should be $ENV{'CONTENT_TYPE'}=~m|^multipart/form-data| too. I added it to my Embperl.pm module E-mail: [EMAIL PROTECTED] On Wed, 21 Feb 2001, John Walstra wrote:

Re: EMB Perl Seg fault

2001-02-06 Thread Neeme Vool
> If you compile php module without --with-mysql=/path/to/real/mysql/liraries and intend to use other modules that use mysql, you'll get such errors. Because, as php warns you, it is correct to use php's mysql modules ONLY if you do not use other modules besides it. Otherwi

Re: LARGE http daemons

2001-01-31 Thread Neeme Vool
n program in perl and embperl. I simply cannot check for 100 users everyday work. We have some especially large projects here, which are intensively used and changed. I thought that in some point I should have tools or knobs as a server admnistrator to keep one user in certain limits and not stomping

LARGE http daemons

2001-01-30 Thread Neeme Vool
httpd 0823B000 84K read/write/exec /usr/local/apache/bin/httpd 0825 46332K read/write/exec [ heap ] DF41 4K read/write/exec [ anon ] I dont blame Embperl, but do I have opportunity to tell, (if the cause is Embperl of course) how much memory it consumes? Neeme Vool Tel: +

Re: Hidden fields in URL

2000-11-27 Thread Neeme Vool
limited intranet pages. I think that it is safer to use hidden fields a la $somevar=$fdat{somevar}=~/regexp/ ? $fdat{somevar} : "defaultvalue"; and later Neeme Vool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multi-Language-remembered!

2000-11-22 Thread Neeme Vool
Yes, if you carefully read information after configuring php then there is a warning that if you intend to use php with some other module that uses mysql access, then don't rely on phps own mysql access and compile php with the original mysql headres as --withh-mysql=/usr/local/mysql

Re: Multi-Language

2000-11-22 Thread Neeme Vool
> Because of multiple applications, we need to support php4 as well as cgi's > and emberl > > We used: > > apache version 1.3.12 > embperl1.3b6 > mod_perl 1.24 > php4.03p1 > perl 5.6 > mysql 3.23.27-beta (also tried earlier ver

Re: file uploads

2000-11-16 Thread Neeme Vool
CGI.pm if I checked only file upload field definedness and the correctness of file checked in other ways. Don't know if it is the best solution. Neeme Vool Tel: +372 7 302 113 Fax: +372 7 302 111 E-mail: [EMAIL PROTECTED] On Thu, 16 Nov 2000, Gerald Richter wrote: > > >