Hello all,
I need to implement my own cipher.c. What I should change?
(Maybe there will be problems with makefiles that will search for SSL
libraries that I don`t use...)
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP
; (That's the configuration that I am usually use on windows)
DB_File works fine for me
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
---
fit for you ?
No, I need to implement my own cipher. There is used some fixed SSL ciphers...
and re-implementing should be a bit complicated I suppose.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT --
Hi all,
I`ve implemented a callback function EMBPERL_INPUT_FUNC for encrypting the
source code, but Embperl (1.3.3-dev) is calling it only for *.epl files and
not for *.phtml files.
What is wrong?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech
sfixed version?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--- COOKIE -
Unix: Where /sbin/init is still
.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--- COOKIE -
Linux, because we don't need no steenkin' Blue Scree
I missed some configuration or is this a bug?
ps - in PHP there is a variable $self that holds actual URL, in empberl
I had to do it myself (from $ENV variables).
how do YOU do this?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
drivers for MS SQL 7 offers connection pooling. I will use
it -- it`s easyest way for my problem.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
---
Hello embperl,
have anyone experiences with running Apache::DBI on WinNT ?
I cannot connect to a database... it returns undef.
lzap
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
Hello embperl,
I need to find place for configuring perl includes.
I use httpd.conf:
SetEnv PERLLIB 'D:/Inetpub/libperl'
but PERLLIB is comma-separated and I do not know how to set 'D:/'.
Is there any other place where to set it?
Regards
Lukas Zapletal [[EMA
Hello embperl,
How do you manage DBI connections?
I have read something in Tips&Tricks but this approach IMHO can be slow on
heavy loaded servers.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERP
Hello Luiz,
Monday, September 03, 2001, 3:25:38 PM, you wrote:
LFBR> Olá lukas,
Olá
LFBR> If you put the $req stuff into [!!] block it will be executed just the
LFBR> first time the page is loaded.
Hmmm either in CGI mode?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programm
LZ> [269]ERR: 21: Line 15: outside of table
LZ> [269]ERR: 45: Line 15: Unclosed HTML tag at end of file
I have to be blind ;-)
Of course Embperl was right...
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGE
Hello EmbPerl,
My Embperl is reporting this:
[269]ERR: 21: Line 15: outside of table
[269]ERR: 45: Line 15: Unclosed HTML tag at end of file
but it is not true, the tag is NOT outside the table. What can I do?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems
t
work. How can I do it?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--- COOKIE -
Get it up, keep it up... L
>> SetEnv EMBPERL_OPTIONS 272
>>
GR> This sets
GR> optRawInput = 16
GR> optDisableFormData = 256
GR> so if you disable the setup of form data (%fdat), you shouldn't wonder if
GR> Embperl does what you say :-)
Oh god! I`m so stupid! :-)
I`m really ashamed of
was fixed in changelog but it seems this is not
true.
Have a nice weekend.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--- COO
001
. Entry-SVs: 16068 -OBJs: 17 Exit-SVs: 17466 -OBJs: 20
[201]MEM: Free buffer for d:\inetpub\wwwroot\embperl\test.pshtml in
HTML::Embperl::DOC::_1
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4
Null Null
Weber::Session::IdGenerator::BASE64"
SetEnv EMBPERL_SESSION_ARGS "directory=D:/TEMP/SESSIONS"
SetEnv EMBPERL_DEBUG 2285
SetEnv EMBPERL_DEBUG 272
Alias /embperl D:/Inetpub/wwwroot/embperl
SetHandler perl-script
PerlHandler HTML::Embperl
Options
?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach systems Ltd., Czech Republic
--- PGP FINGERPRINT
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--- COOKIE -
Double your disk space - delete Windows
>So OR is correct here.
I see...
I have another question.
I noticed Embperl calls SetSessionCookie when getids[2] returns 1.
Can you explain me the purpose of MODOFIED flag?
What should method 'getids' return?
Thanks
lzap
Does Embperl 2 beta run on Apache 2.0 / mod_perl 2.0 (betas)?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Where is the method 'SetupSession' called from?
My SessionX class is already done, but SetupSession is never called (and the
new id cookie is never sent).
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web
>Recreate_id creates a _new_ id if the given one does not exists
Can you explain the following piece of code then:
if (!$self->{data}->{_session_id} || $self ->
{'args'}{'recreate_id'})
It is taken from Session.pm (what I`m learning from).
Why you use OR (||) here? This should by AND (&
>The data is let untouched. The idea is to have a unique id for every
>request, which makes it possible to keep track on session data even if the
>user hits the back button.
So the data are copied to new session record and returned?
This is a bit strange. Every request you add one record... I use
the idfrom is the real ID or some string which ID
will be generated from?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
>P.S. The embperl mailing list is the right place to discuss this
Add this to your footer sign, Gerald. :-)
>Could be a problem of your session handler, when no session id is defined,
>but I don't know. Try to set some id in the function:
I did... my class is well tested, I hate these fatal exce
>Yes, it's new in Apache::SessionX (ftp://ftp.dev.ecos.de/pub/perl/session)
>which is required for Embperl 1.3.4 (unless you have your own handler :-)
>
>If you don't use %mdat, just make it a empty function, if you use %mdat it
>should convert the given string argument to a valid session id and c
I copied bad piece of code, sorry for this:
>>How do you enable the yellow background? I tried adding 'set bg=dark'
>>and 'set background=dark' to my ~/.vimrc, but no go.
autocmd BufNewFile,BufRead *.epl,*.phtml colorscheme embperl_yellow
ps - I`m not sure if I already reply your question...
>Extremely cool!
:-)
>[$ sub foo $] was a little wonky on the file I tried it on. I saw in one
>of the .vim files that this is a known issue, caused by the perl
>syntaxes.
fixed, check version 1.1 (coming soon)
>Is folding supposed to work for [$ $], [- -], etc?
scheduled for 2.0
>How do you
n of Embperl::Session.
There is no "setidfrom" method in Embperl::Session.
Is this a typo?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTE
>[$ sub foo $] was a little wonky on the file I tried it on. I saw in one
>of the .vim files that this is a known issue, caused by the perl
>syntaxes.
Yes I`m working on that, thanks to all for reporting bugs...
>Is folding supposed to work for [$ $], [- -], etc?
Again... work in progress
>How d
for JavaScript, VBScript, Perl+Embperl, CSS and HTML :-)
- yellow background for Perl`s code (like M$ Interdev)
- Perl folding works fine
DOWNLOAD:
http://vim.sourceforge.net/scripts/search_results.php?keywords=Embperl
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
>You're suggesting that Embperl changes its syntax, affecting thousands
>of web pages (OK, so this is completely guessd :) ) simply because
>you could use a variable thats *deprecated* (ie will be completely
>removed in the near future) and you're having problems writing a
>syntax definition?
Is
( $] > 3.019 ) $]
Bla bla bla
[$ endif $]
#EOF
Embperl generates error here.
For this reason I suggest some substitution, like [& &]
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web
>Apache::SessionX is an extented version of Apache::Session (and still
>requires Apache::Session to work). So the X simply stands for eXtened. It
>replaces HTML::Embperl::Session in the current Embperl version. The reason
>for the name change from HTML::Embperl::Session to Apache::SessionX is,
tha
>Apache::SessionX is available for testing. That fixes some seesion problems
>and should ease configuration. The cookie-less session management is still
>in a state, that I have to work on first ...
Is it`s name final? Why 'X'? Maybe you could think about some other name...
;-)
lzap
---
Hi Robert!
Great work. I think it is enough. Maybe you could put some workd about how
SessionX works.
lzap
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>Maybe it would be better to only write your own Storage class, while still
>using the Apache::Session framework ?
Apache::Session is too complicated...
>Otherwise you have to provide a tied hash along with the methods setid,
>getids and clear as described in HTML::Embperl::Session
Done. But it
I`m coding session handler and I noticed that EP under CGI on my PWS 4
doesn`t call SetSessionCookie. Why? Is it a bug?
lzap
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To
>Hello, I need to write my own session handler class. How can I do it? I do
>not want to use Apache::Session.
I read the manual and wrote my class but I get this error:
Can't locate object method "hexhash" via package "MD5" at
D:/Perl/site/lib/HTML/Embperl.pm line 1696.
here:
if ($HTML::Embper
>An Example for useage of Execute ({object => foo}) could be found at
>
>http://perl.apache.org/embperl/IntroEmbperlObject.pod.7.html#Subroutines_in
_
>EmbperlObject
>
>If this doesn't help, please describe what you want to do and I try to tell
>you which is the best solution with EmbperlObject
I
Hello, I need to write my own session handler class. How can I do it? I do
not want to use Apache::Session.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail
>$obj, as you use it above, is intented if need an second object with
>different inherece hierachie. Also you can store data in $obj, it is only
>available to the pages that have access to $obj, so you have to store $obj
>somewhere, e.g. in $req -> {obj}.
I wonder I do not understand
can you give
>> What name do you use for EPO? $obj, $subs or $req?
I mean do you use:
$obj = Execute({object => 'methods.epl'});
or
$obj = Execute({object => 'methods.epl'});
or
$obj = Execute({object => 'methods.epl'});
...
In the second question I tried to answer (sory for my _bad_ english ;-) if
it is st
>That are two different things. The $subs = ... creates a new object for
>calling methods inside of subs.epl. That only interseting when you have
>different subs.epl in different directory which inherit from each other.
>
>>From what you wrote I guess you just want to store your data globaly, then
module to get Embperl working
in multithreading enviroment on NT (because PerlIS.dll seems not
compatible). Anyone has experiences with ISAPI programming?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
>use
>
>[$ var %hash $]
>
>NOTE: %hash will only be global for that page. It will not be visible in
the
>pages you include.
so I`m not able to make my own session hash and use it globally in the
request (all pages)?
lzap
-
T
Perl code: Operator or semicolon missing
before %udat at d:\inetpub\wwwroot\embperl\const.epl line 6.
[181]ERR: 32: Line 1: Warning in Perl code: Ambiguous use of % resolved as
operator % at d:\inetpub\wwwroot\embperl\const.epl line 6.
I suggest there`s something wrong with 'var'
32: Line 8: Warning in Perl code: String found where operator
expected at XXX line X, near "croak "Cannot fetch data: $@""
[196]ERR: 32: Line 8: Warning in Perl code: (Do you need to predeclare
croak?)
I need to put 'use' in the each ep code in the pages ([- -]).
R
I have this piece of code:
[-
...
print OUT "QRY:" . $udat{query};
...
-]
But the output is NOT strong ( tags are skipped):
Here`s the log:
print OUT "QRY:" . $udat{query};
I don`t understand. What`s this???
btw I have htmlEscaping switched OFF.
Regards
Lu
h is 41 in the BOTH requests.
It`s the proof. There is a problem.
What platform do you develop on? I use WinNT, Apache 1.3.20, EP 1.3.3. Maybe
this is problem in Windowze Apache, but I have no idea WHERE can i get help.
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.ba
see if there is any data in the request body, which causes this problem.
I cannot solve the problem. I duuno why my Apache (WinNT4) is setting
CONTENT_LENGTH enviroment variable when no POST DATA are sent.
Is there a chance to overload the default precedence?
Regards
Lukas Zapletal [[EMAIL PRO
Hello Gerald!
Did you manage to get it working?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
te the
link to 'http://www.site.com/cgi-bin/handler.cgi?url=/products.html'.
After that it won`t be need to add CGI script mapping of html files. Our
customers can use their NT/IIS servers and the others are allowed to choose
Linux/Apache/mod_perl
Is my idea right? Is it possible?
Regards
Lu
>If you are able to do so, it would be nice if you share the arguments why
>you would use Embperl, instead of PHP. I guess more people would be
>interested in this sort of informations.
Well, there were several reasons to choose Perl. Here is our selecting from
the best candidates:
1) Platform
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
cmp/div.htm
Log:test/tmp/test.log
Testparameter:
option = 64
ERRORS detected! NOT all test have been passed successfully
NMAKE : fatal error U1077: 'D:\Perl\bin\Perl.exe' : return code '0x36'
Stop.
I`m attaching test logs.
Regards
Lukas Zapletal [[EMAIL PROTECT
?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>Did you try to start Apache with -X switch like I suggested yesterday ? Any
>differences ?
Yes, no differences.
>Do you load HTML::Embperl at server startup (i.e. PerlModule HTML::Embperl
>or use HTML::Embperl in a file that is loaded with PerlRequire from
>httpd.conf) ? If yes, try to not load
I have still problems with sessions, I configured 1.3.2 final like that:
PerlSetEnv EMBPERL_SESSION_CLASSES "DB_File Null"
PerlSetEnv EMBPERL_SESSION_ARGS "FileName=d:/temp/sessions/data.db
LockDirectory=d:/temp/sessions"
Directory exists. Error is reported at line 1691:
$udat -> setid ($s
>Does the directory /temp/epl exists ?
yes, there are two session files generated
>Take a look into your web server error log, there are maybe more error
>message.
[311]SES: Embperl Session management enabled (>= 1.50)
[Tue May 15 14:07:54 2001] [error] Can't call method "getid" on an undefined
>you need to specify a locking class e.g.
>
>PerlSetEnv EMBPERL_SESSION_CLASSES "File Null"
well, it seems don`t werk in 1.3.2-dev:
[error] Can't call method "getid" on an undefined value at
D:/Perl/site/lib/HTML/Embperl.pm line 1689.
Probably some problems with 'Null'. What can I use instead
he debug, no session, not working. Help!
ps - how can i set session_arg directory to some path with space? eg.
Program Files ....
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To
>The piece of code that handles form data is more or less four years old, I
>don't think there is a bug, or it had come up earlier...
>
>> But there is no post... the method is GET, look:
>...
>> CONTENT_LENGTH = 30
>
>But here are 30 Bytes of data in the request body. Embperl will take this
>and
But there is no post... the method is GET, look:
[lzap@lamed lzap]$ telnet 192.168.1.13 80
Trying 192.168.1.13...
Connected to 192.168.1.13.
Escape character is '^]'.
GET /embperl/test.html?id=aaa HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, appl
When I send GET method with some attributes (e.g. something.html?test=1), I
cannot find it in %fdat hash.
%fdat hash is empty, @ffld too. but it works for POST method. what`s wrong?
I use Embperl 1.3.1 with Apache 1.3 on Win NT 4.0 SP 6.
Thanks for help
lzap
--
/logs/embperl.log"
PerlSetEnv EMBPERL_VIRTLOG "/embperl/log"
Alias /embperl "D:/Inetpub/wwwroot/embperl"
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
#
# Order allow,deny
# Deny From all
#
SetHandler perl-script
PerlHandler HTML:
RL_VIRTLOG "/embper/log"
Alias /embperl "D:/Inetpub/wwwroot/embperl"
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
Order allow,deny
Deny From all
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
Regards
Lukas Zap
#perl makefile.pl
Running on Win 32
Build with support for Apache mod_perl?(y/n) [y]n
Will build without mod_perl support
Found Apache::Session Version 1.53
Warning: prerequisite File::Spec 0.82 not found at
D:/Perl/lib/ExtUtils/MakeMake
r.pm line 340, line 1.
Writing Makefile for HTML::Embperl
>You need to tell IIS that embpcgi.pl should be executed whenever a Embperl
>page is requested. embpcgi.pl (which is part of the Embperl distribution)
>will take care to handle the actual processing to Embperl. So first of all
I
>would try to map the .pl extention to perlis.dll (I think that is al
you.
Lukas Zapletal
Bach systems
web developer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
72 matches
Mail list logo