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
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
:
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Ü
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
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 ..
>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
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
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
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
. 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]
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
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
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
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
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
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]
(@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
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]
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
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
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
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]
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:
>
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
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
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: +
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]
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
> 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
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:
> > >
30 matches
Mail list logo