cgi problem

2006-02-24 Thread andrew
g external storing method? Or may be exist more simple method in Embperl? --- Thanks Andrew Antipin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cgi problem

2006-02-27 Thread Andrew
e-embed" php feature with apache, but... So, may be exist external method of data exchange between perl-cgi and embperl? Thank you Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

session problem

2006-09-03 Thread andrew
have to do for understanding my installation problems? Thank you Andrew PS: embperl2.1.0/apache2.0.54/modperl2.0.0 /linux fedora core 4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

mail sending problem

2006-09-05 Thread Andrew
Hi,Thank Gerald for reply about "session problem", but now I have another question regarding mail sending:   part of simple script:   use Net::SMTP;$smtp = Net::SMTP->new('localhost')  or die "Cannot connect to mailhost"; from apache not works with message: Error in Perl code: Cannot connect

EmbperlLibXSLT and utf-8

2007-04-10 Thread Andrew
I have to configure for inserting koi8 to xsl file? Thank you Andrew PS. I checked my libxml2 library is compiled with iconv library - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: EMBPERL_SESSION_HANDLER_CLASS to 'no' in embperl 2.0b9

2003-07-11 Thread Andrew O'Brien
If you read the IIS setup guide I posted to the list a while back, setting variables in a BEGIN block in the epocgi.pl file works just fine. I've had to run embperl on IIS occasionally and I've had no problems. -- Andrew O'Brien e: [EMAIL PROTECTED] p: +61 2 9556 0100 f:

RE: Nested Bug in 2.0b9

2003-08-07 Thread Andrew O'Brien
Apologies in advance for breaking the thread. All CPAN developers (and the public) have access to the CPAN Request Tracker system: http://rt.cpan.org/. I'd suggest this as a central location that is already used successfully for many other perl projects. -- Andrew O'Brien e: [EMAIL

RE: sharing data across SSI's (Executes)

2003-09-02 Thread Andrew O'Brien
ass via the Execute function. Eg Execute('form.inc', $value1, $value2) or Execute({ inputfile=>'form.inc', param=>[$value1,$value2]}); Form.inc: [- $req = shift; ($value1,$value2) = @param; # or $value1 = shift @param; $value2 = shift @param; -] Hope that makes it

RE: sharing data across SSI's (Executes)

2003-09-04 Thread Andrew O'Brien
y not contain cached values and that you properly expire/update the cache when appropriate. Code that was written for once-offs may need to be slightly rewritten to take persistence into account. -- Andrew O'Brien > -Original Message- > From: Chris Allen [mailto:[EMAIL PROTECTED]

RE: Upload file

2003-10-08 Thread Andrew O'Brien
=~ s/[^\w\.]/_/g; $file =~ s/_+/_/g; # replace unwanted characters, somewhat aggressively. if ( open(OUTFILE, ">$some_path/$file") ) { # this should use File::Spec as well. binmode OUTFILE; my $buffer; print OUTFILE $buffer while read($fdat{ImageName}, $bu

RE: embedded HTML tags

2004-04-29 Thread Andrew O'Brien
s, for example) as it is being printed out then: [- Execute({input => \$my_variable_with_html_data, %other_execute_args}) -] Again, the documentation for Execute will help you here. Cheers, Andrew PS. This was for embperl 1.3.x ---

RE: changing location of embperl.log

2004-05-30 Thread Andrew O'Brien
he log still being > written to > is /tmp/embperl.log. > > Have I overlooked something? >From memory, the PerlSetEnv line needs to come before the "PerlModule HTML::Embperl" lines for changing the logfile location. That a very vague memory though :) Cheers, Andrew

RE: Is there a point in using the request object for db connections whenusing Apache::DBI?

2004-07-13 Thread Andrew O'Brien
g up something like this not-quite-so-recently. Gerald has adapted several posts into HOWTO's and the like but I can't recall a specific site. I'd certainly be interested. Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Is there a point in using the request object for db connections whenusing Apache::DBI?

2004-07-14 Thread Andrew O'Brien
> > From: John P. Gibbons [mailto:[EMAIL PROTECTED] > > Subject: Is there a point in using the request object for db > > connections when using Apache::DBI? > > Hi John, > > (note - I use HTML::Embperl extensively and exclusively so my ideas > may be slanted somewhat) That should read HTML::

RE: Is there a point in using the request object for db connectionswhenusing Apache::DBI?

2004-07-14 Thread Andrew O'Brien
aching and code simplification. And ... :) > > > > Hi Andrew, > > Yeah something like that does seem to make sense. However > when you say > you've abstracted everything from the website code, how abstracted do > you mean? For example what I do now is do a connect

RE: Apache virtulahosts sharing modules

2004-07-20 Thread Andrew O'Brien
st level. Ie have constants/whatever initialised in base files rather than having that kind of logic in the modules. Anyone have other ideas? Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Apache virtulahosts sharing modules

2004-07-20 Thread Andrew O'Brien
> From: John P. Gibbons [mailto:[EMAIL PROTECTED] > Subject: Re: Apache virtulahosts sharing modules > > Andrew O'Brien wrote: > > >Your best bet is to have site-specific information set up at > the embperl > >request level. Ie have constants/whatever initi

RE: What happens when (slow) loading pages are stopped by the browser

2004-10-28 Thread Andrew O'Brien
Two words: database transactions. That said, I've found that apache usually finishes processing the request but you're better off not assuming this and dealing with transactional failure properly in your application. -- Andrew O'Brien Development Manager e: [EMAIL PROTECTED]

RE: Embperl::Object and query string

2005-01-11 Thread Andrew O'Brien
%fdat is a global for the life of that request, regardless of which file is currently executing. -- Andrew O'Brien > -Original Message- > From: Michael Stepanov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 12 January 2005 6:50 PM > To: embperl@perl.apache.org &

RE: %udat and frames

2005-02-15 Thread Andrew O'Brien
allel) which means that you're not going to get consistent data on the initial load. I'd really suggest passing through these arguments directly. Ie You can then use $fdat{a} etc in the subpages directly. -- Andrew O'Brien > -Original Message- > From:

RE: $escmode in libraries

2005-03-17 Thread Andrew O'Brien
y enough to break out each request based on the pid. The '::' is just a random delimiter - it's not special in any way. sub debug { my $self = shift; return unless $some_package_or_whatever_global_saying_I_should_debug; print HTML::Embperl::LOG "[$$]DBG: ".

RE: saving snapshot of the page

2005-04-03 Thread Andrew O'Brien
CTED] }); # save to DB -] [- local $escmode=0; print OUT $content; -] -- Andrew O'Brien > -Original Message- > From: Ben Kim [mailto:[EMAIL PROTECTED] > Sent: Saturday, 2 April 2005 6:27 AM > To: embperl@perl.apache.org > Subject: saving snapshot of t

RE: Execute question

2005-04-20 Thread Andrew O'Brien
s.epl: [- $req = shift; $test = shift @param; if ($something_went_wrong) { $$test = 1; exit; } -] -- Andrew O'Brien Development Manager e: [EMAIL PROTECTED]p: +61 2 9461 0114 w: www.oriel.com.auf: +61 2 9431 6700 > -Original Message- > From: allen hai

RE: EMBPERL_OPTIONS

2005-06-23 Thread Andrew O'Brien
> -Original Message- > From: Daniel [mailto:[EMAIL PROTECTED] > Sent: Friday, 24 June 2005 5:03 AM > Subject: EMBPERL_OPTIONS > > Re: http://www2.ecos.de/~mailarc/embperl/2005-03/msg00041.html > > "Looks like you are using Embperl 1.3. In this case you have set set > optRawInput in EMBP

RE: EMBPERL_OPTIONS

2005-06-23 Thread Andrew O'Brien
> From: Daniel [mailto:[EMAIL PROTECTED] > Sent: Friday, 24 June 2005 10:35 AM > > > I am a bit awed that you would go through all the effort of > pointing to > > two identical instances of the same opaque reference so as > to put down ? > > the original poster ? but don't bother to answer the

RE: Embperl::Object with session management?

2006-01-16 Thread Andrew O'Brien
Your apache config was cut off but I would first think that you're missing the following (1.3 syntax, change as necessary for 2.x): PerlSetEnv EMBPERL_COOKIE_PATH / -- Andrew O'Brien > -Original Message- > From: Dan Lenski [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: Catalyst::View::Embperl ???

2006-02-06 Thread Andrew O'Brien
Matt, perhaps you could post your one as an example (or link to it somewhere). I know a lot has likely changed but that may help someone get a better idea how to develop one for the current release. -- Andrew O'Brien > -Original Message- > From: Matt J Cwanek [mailto:[EMAI

RE: Hashes in %udat

2006-04-19 Thread Andrew O'Brien
low check to see if anything has changed. If nothing changes in the top level tied hash, the data will not be updated in the backing store. You are encouraged to timestamp the session hash so that it is sure to be updated. ... Hope that explains what you've experienced. Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mail sending problem

2006-09-11 Thread Andrew Antipin
n Perl code: Cannot c onnect to mailhost at /var/www/centr/a.shtml line 19. execution from embperl (embpexec.pl a.shtml) is success. Seems, I have to debug NET::SMTP or Apache itself Thank you Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Embperl::Object + FastCGI env configuration problems

2006-11-16 Thread Andrew Sitnikov
I try use Embperl::Object + apache mod_fastcgi. All works, except configuration params from ENV httpd.conf /public_html/embperl/fcgi/object> Action text/html /cgi-bin/fcgi/embofastcgi.pl SetEnv EMBPERL_ESCMODE 0 SetEnv EMBPERL_OPTIONS 16 SetEnv EMBPERL_OBJ

Re[4]: Embperl::Object + FastCGI env configuration problems

2006-11-25 Thread Andrew Sitnikov
gi ENV variables passed over fcgi request not over real ENV. -- Best regards, Andrewmailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

crash with simple template

2007-01-20 Thread Andrew Sitnikov
95fda8 (gdb) p *pAttr $2 = {nType = 2 '\002', bFlags = 0 '\0', nNodeOffset = 200, xNdx = 123, xName = 46, xValue = 124} (gdb) p pAttr->xValue $3 = 124 -- Best regards, Andrew mailto:[EMAIL PROTECTED] crash.html.1 Description: Binary data --

RE: equivalent of [$ hidden $] for links?

2007-06-06 Thread Andrew O'Brien
es etc) from fdat here. Or stick them in another hash. Whatever works for your page logic. #] Like I said, there may well be a way overriding some of the Embperl syntax stuff but the above is perhaps clearer. Well, to me anyway :) Cheers, Andrew -

Problems with EMBPERL_OBJECT_HANDLER_CLASS on stock debian etch Embperl 2.2.0 / Apache 2.2.3

2007-07-10 Thread Andrew O'Brien
ERRORS_TO "[EMAIL PROTECTED]" Options +ExecCGI AllowOverride None -- Andrew O'Brien embperl2.log.gz Description: embperl2.log.gz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problems with EMBPERL_OBJECT_HANDLER_CLASS on stock debian etch Embperl 2.2.0 / Apache 2.2.3

2007-07-10 Thread Andrew O'Brien
Sorry for wasting everyone's time. There are some days you just shouldn't get out of bed ... There was no PerlModule Oriel::Embperl2Req In my apache config. I don't know why I assumed EmbperlObject would do that for me! So the following now works: Content of the handler class =

Patch to 2.2.0 Embperl.pm to fix cookie header handling under mod_perl 2

2007-07-16 Thread Andrew O'Brien
_in->{'Cookie'}:undef) ; if ((defined ($cookie_val) && ($cookie_val =~ /$cookie_name=(.*?)(\;|\s|$)/)) || ($ENV{QUERY_STRING} =~ /$cookie_name=.*?:(.*?)(\;|\s|&|$)/) || $ENV{EMBPERL_UID} ) { -- Andrew O'Brien

Script to help convert HTML::Embperl 1.3.x websites to Embperl 2.2

2007-07-16 Thread Andrew O'Brien
n once Eg: convert_embperl_files.pl -d /var/www/mysite -m '*.epl' \ -m '*.html' -e /var/www/mysite/not_embperl -v -v -- Andrew O'Brien convert_embperl_files.pl Description: convert_embperl_files.pl -

RE: Problem with Apache 2.2.6

2007-09-16 Thread Andrew O'Brien
- I know for myself I still have at least one large production site running on 1.3.6 and apache 1.3.x. If it ain't broke and all that :) This may well be the reason noone has piped up. What is the latest combination of apache/embper

RE: Problem with Apache 2.2.6

2007-09-16 Thread Andrew O'Brien
> On Mon, Sep 17, 2007 at 09:20:26AM +1000, Andrew O'Brien wrote: > > What is the latest combination of apache/embperl that is > supported by > > your distro? > > Apache 2.2.6 *is* the current supported version of Apache on my distro > (GenToo). That's why

RE: 30 second timeout

2007-11-26 Thread Andrew O'Brien
an optEarlyHttpHeader setting for EMBPERL_OPTIONS. I can't see that available for Embperl and I'm not sure its even possible with the structural changes made along the way. I'm sure someone else with more experience in 2.2 can enlighten us though. Cheers, Andrew ---

RE: EMBPERL_SESSION_HANDLER_CLASS = no

2007-12-02 Thread Andrew O'Brien
; } ... use Embperl; ... My only worry would be making sure you are definitely not running in an environment that is caching any module compilations. There are several example cgi handlers that come with the Embperl distribution - it would be wort

RE: Preventing selected being added to option tags

2008-01-21 Thread Andrew O'Brien
the body of the page that isn't just conditional output processing. All the code is readable near the top and coherently grouped. I just trust Embperl to do the right thing with escaping values and processing %fdat. I find it an extremely rare thing that I need to set form values in the HTML e

RE: Preventing selected being added to option tags

2008-01-22 Thread Andrew O'Brien
ectively applied in blocks. ie, you're saying that you can do ... [$ syntax EmbperlBlocks $] ... [$ syntax Embperl $] ... Nice. Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem using Embperl on Debian Lenny

2008-07-14 Thread Andrew O'Brien
TO "[EMAIL PROTECTED]" # Other site-specific directives here # Block direct access to .epl files as all publically # accessible embperl pages are .html Order deny,allow Deny from all Hope this helped. - Andrew > -Original Message- > From: Neil Gun

RE: Problem using Embperl on Debian Lenny

2008-07-15 Thread Andrew O'Brien
ented upstream. The diffs are available from http://packages.debian.org/lenny/libembperl-perl. Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem using Embperl on Debian Lenny

2008-07-15 Thread Andrew O'Brien
r DB query load and for throw-away sessions. I don't know how much site-specific complexity there is in your caching reverse proxy but maybe you want to look at Varnish for caching or perlbal/lighttpd instead of apache if you're worried about memory use. I know we regularly have apache ch

RE: Question re preloading embperl and apache shutdown

2008-07-23 Thread Andrew O'Brien
r_shutdown_register_cleanup(sub { Apache2::Const::OK }); # do something only when the server restarts my $cnt = Apache2::ServerUtil::restart_count(); do_something_once() if $cnt > 1; Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question re preloading embperl and apache shutdown

2008-07-24 Thread Andrew O'Brien
info see the above documentation sections and the 1.0 to 2.0 porting guide: http://perl.apache.org/docs/2.0/user/porting/compat.html Cheers, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Error line numbers do not seem to map correctly to source code

2008-08-06 Thread Andrew O'Brien
ments). As you say, it certainly can be a little frustrating if you've got multiple possible culprit statements nearby :) Idly, I wonder if its an Embperl::Object-specific issue or Embperl code in general. Anyone else seen this? Are you using E::Object? Cheers, Andrew -

RE: Roll call: What cool, high-traffic websites are using Embperl?

2008-08-06 Thread Andrew O'Brien
ng memcached around the edges to start to reduce the query load on the DB but that isn't really an issue at this point. We don't really use any Embperl2-specific features like the application object at this point - we're basically just running a 1.3 site with

RE: Embperl Abandoned: Next Steps?

2008-10-21 Thread Andrew O'Brien
t strip out duplicates is a small addition. I guess if you're doing this in lots of subs then its worth a special syntax. I look forward to seeing the Catalyst library - that is certainly worth improving to provide an alternative to TT/Mason. Embperl is superior after all :) Thanks for working

RE: Execute() and App objects

2009-04-02 Thread Andrew O'Brien
e ({subreq=>'/cgi-bin/script.cgi'}) -] The above code includes the output of a cgi script into a page." Cheers, Andrew - To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-h...@perl.apache.org

RE: Sort Keys of Hash Printed via dump

2009-09-02 Thread Andrew O'Brien
see from the docs. But, then again, it's a trivial thing to write your own sub that does this. A completely untested example to simulate the default behavior :- [! use Data::Dumper; !] [$ sub sorted_dump $] [+ do { local $Data::Dumper::Sortkeys=1; Dumper( @_ ); } +] [$ end

RE: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-20 Thread Andrew O'Brien
e tools to see how far the automated tools get me but currently I don't have a single system that either has the later versions of CGI.pm standard or requires it so it won't be something happening in the next week or so I'm afraid. Cheers, Andrew --

RE: 9999: Error (no description) Unstructured forward jump

2009-10-12 Thread Andrew O'Brien
#] Cheers, Andrew > -Original Message- > From: Ed Grimm [mailto:ed_gr...@raytheon.com] > Sent: Saturday, 10 October 2009 12:37 AM > To: George Piskorsky; embperl@perl.apache.org > Subject: Re: : Error (no description) Unstructured forward jump > > Actually, it wo

RE: Help: Migrating from embperl 1.3 to Embperl 2

2010-04-29 Thread Andrew O'Brien
Hi Mario, > How can do a perl regular expresion for search and replace blocks like > > [+ command1 ; command2; command3 +] > with > >[+ do { command1 ; command2; command3 } +] > > We try with some like this : > > cat file.epl |perl -na -e'if ($_ =~ m/\[\+( *.+? *)\+\]/g ){ pri

RE: Execute( sub =>...) and (object => ...)

2010-06-22 Thread Andrew O'Brien
$y) = @_; return $x * $y; } !] [$ sub other_func $] [- my $self = shift; my $arg1 = shift; -] [+ $arg1 +] [$ endsub $] There isn't much else to it. Hope that helped. Cheers, Andrew - To unsubscribe, e-mail: embperl-unsu

RE: @param seems to be shared between Execute calls

2010-07-25 Thread Andrew O'Brien
Hi Michael, > Thanks for the email. I'm actually using @param to return > data (as well as the HTML) to the epl script which is calling > another one via Execute. Perhaps there's a better way. I think you may just be missing one piece of the puzzle: using references with the param argument t

RE: Execute({ object => '...' })

2010-07-26 Thread Andrew O'Brien
you want to do is execute a sub in another file then following approaches both work with standard Embperl: use Embperl; Embperl::Execute( { inputfile => 'test.epl', sub => 'head' } ); Embperl::Execute( 'test.epl#head' ); Cheers, Andrew > - embpe

RE: Status of Embperl?

2012-09-07 Thread Andrew O'Brien
site or not any more but to give you an idea the web tree has just under 40k lines of embperl code - this count only includes non-comment embperl lines or blocks, not html JS CSS etc. I'll certainly be continuing to support Embperl in whatever way I can. Cheers, Andrew -

RE: Emacs Mode or IDE for Embperl

2012-09-23 Thread Andrew O'Brien
ode-ext-class 'html-mode "\\.asp\\'" 'fancy-html) (mmm-add-mode-ext-class 'html-mode "\\.\\(epl\\|ep\\|html\\|shtml\\)\\'" 'embperl) (mmm-add-mode-ext-class 'html-mode "\\.\\(e

Fwd: Using CSS / JS in execute

2015-02-27 Thread Andrew OBrien
Just for the lists reference. -- Forwarded message -- From: Andrew OBrien Date: 28 February 2015 at 16:49 Subject: Re: Using CSS / JS in execute To: Donavon Lerman Hi Donavon, I'm not sure exactly what you mean but if I understand you correctly, then if the CSS or

Re: Processing user created html alongside epl html

2015-06-25 Thread Andrew OBrien
Unless I'm misunderstanding you could always call execute with the $user_html string as input: >From memory Execute allows a scalar as input rather than a filename. Cheers, Andrew On 26 June 2015 at 01:55, Kaiser, Matthew wrote: > Hi, all. > > I have a page that takes html

Re: Browser detection

2000-08-22 Thread Andrew Wansink
It is stored in the environment variable for the user agent. [- $browser = $ENV{HTTP_USER_AGENT}; -] [$ if ($browser =~ /MSIE/) $] [- Execute (ieheader.htm) -] [$ elsif ($browser =~ /Mozilla/) $] [- Execute (nsheader.htm) -] [$ else $] [$ endif $] hope this helps andy

RE: Getting data from external URL

2000-08-26 Thread Andrew Nicholson
Hello Vijay, You can make simple HTTP GET or POST requests using the LWP and HTTP modules. I recommend that you read the ActivePerl help files. I have attached the one you really need but it probably won't make sense unless you read up on LWP. # A small sample follows: use LWP::UserAgent; # us

Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Andrew O'Brien
param => \@q } ); @{ q[0] }->[2]; # prints "3" -] [+ @q = ( ); Execute ({ input => \'[+ $param[0] = [1,2,3]; "";+] Done some substitutions on param0 ... ', inputfile => 'Return array by reference'

RE: Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Andrew O'Brien
On Mon, 23 Oct 2000, Ilia Lobsanov wrote: > Andrew, > > Have you tried escaping the "[" using "[["? > > i.e.: > Execute ({ input => \'[[- $param[0] = [1,2,3]; -] Done some > substitutions on param0 ... ', Unfortunately, no

(not so) Simple feature request/expansion

2000-12-18 Thread Andrew O'Brien
doesn't work: It didn't look to be a quick fix from the source tho. -- Andrew O'Brien [EMAIL PROTECTED] http://linux.conf.au faceless organiser #3 Jan 17th-20th: Sydney, Aus -

Re: Is it possible to use "print OUT" to create HTML tags?

2001-05-23 Thread Andrew O'Brien
On Wed, May 23, 2001 at 11:33:20PM -0700, Michael George III wrote: > Just in case anyone wants the solution: > > > [- local $escmode=0; print OUT "\ Hello World \"; -] > You don't need "\<" in the string with $escmode=0, "<"

PerlAccessHandler and HTML::Embperl

2001-06-28 Thread Andrew O'Brien
LockSemaphore::acquire_write_lock line 100 which # means that we must call this function even if we are proceeding on # to Execute function ... (not as noted in perldoc HTML::Embperl?) HTML::Embperl::Req::CleanupSession; ... return OK; } Cheers, -- Andrew

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread Andrew O'Brien
erl API - "perldoc Apache" will give you the documentation specific to your installed version of Apache.pm The other one to look at is the function is_initial_req() which is slightly different. I use is_main() because I still want to do authentication on internal

Re: Modular web site not behaving as expected.

2001-11-11 Thread Andrew O'Brien
between > to take care of the looping. If I could implement it as all one page, > I'd do so but it doesn't look like that is possible. There doesn't > appear to be a "stop" function that prevents the calling page from > being returned to immediately. A

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Andrew O'Brien
; > etc.) with breaks in actual execution. In other words, he wants to > > think of program execution in terms of a linear user session (as you > > would with a GUI app) rather than a series of separate requests. -- Andrew O'Brien

Re: Calling a cgi on other web server.

2001-09-27 Thread Andrew O'Brien
rst example which does a fairly simple request with POST data. HTH -- Andrew O'Brien Product Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133

EMBPERL_MAIL_ERRORS_TO sends multiple emails?

2001-10-12 Thread Andrew O'Brien
t to open slather PerlAccessHandler Apache::AuthSwitchCookie -- Andrew O'Brien Product Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited

Re: EMBPERL_MAIL_ERRORS_TO sends multiple emails?

2001-10-14 Thread Andrew O'Brien
On Fri, Oct 12, 2001 at 07:17:10PM +1000, Andrew O'Brien wrote: > getting it ready to go live and played with EMBPERL_MAIL_ERRORS_TO > Everything now works great, except that I'm getting 3 copies of > every error email. Has anyone else experienced this? The emails

Re: EMBPERL_MAIL_ERRORS_TO sends multiple emails?

2001-10-17 Thread Andrew O'Brien
er the next few days to stick some debugging print statements in Embperl myself. If I don't turn up anything really useful then I'll send a copy of an embperl log for a request and my apache config. About the only thing I can think of that might make a difference is that I'm using

Make test error for V1.3.4

2002-01-25 Thread Andrew Lim
Hello. I got below error while I am installing embperl 1.3.4 on REDHAT Linux 7. I gave chmod 777 to all files under test directory and it's subdirectories. But still getting this error. Anybody knows what am I doing wrong? Looks like it's not working in mod_perl mode. Thank

Re: really basic mod_perl usage

2002-01-31 Thread Andrew O'Brien
.html: $req = shift; # call the do_stuff() function in lib.epl $req->{libobj}->do_stuff( @my_args ); 3) You're not limited to just one. Have as many as you like. A veritable object party! Hope this helps. -- Andrew O'Brien

Re: udat and cookies and expiration

2002-02-22 Thread Andrew O'Brien
t the same time then data in %udat should be persistent. That's what sessions are for, after all :) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limite

Re: [OT] How to preserve carriage returns in text area inputs?

2002-02-22 Thread Andrew O'Brien
saving the output somewhere and so having a maximum column width is useful. -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 11

Re: [OT] How to preserve carriage returns in text area inputs?

2002-02-22 Thread Andrew O'Brien
On Sat, Feb 23, 2002 at 03:07:15PM +1100, Andrew O'Brien wrote: > On Fri, Feb 22, 2002 at 06:37:33PM -0800, Scott Chapman wrote: > > I'm finding that my form data is not preserving carriage returns. When a user > > has a text area to fill in that is multiple lines,

Is this a netscape problem or what?

2002-02-26 Thread Andrew Lim
It's OK with IE but on netscape, I see web server information displayed on the top of the web page. Below is the actual HTML code. Anybody knows why this is happening? This happens to a specific page (Not all pages.) when I see it from netscape. THanks > REMAIN:8 CURRENT

RE: Is this a netscape problem or what?

2002-02-26 Thread Andrew Lim
Yeah you were right. In some of my custom module, I put print function for test purpose and this was the cause. THanks Andrew -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 12:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject

cookies not expiring on IE.

2002-03-08 Thread Andrew Lim
an IE problem or my code is wrong? Andrew ++ my $cookie1 = cookie(-name=>'A', -value=>'', -expires=>'+10m'); my $cookie2 = cookie(-name=>'B', -value=>'

Re: Auto-loading an embperl file?

2002-03-13 Thread Andrew O'Brien
anging things - I haven't hit a situation that wasn't solved either with the above or a base file that stuck an epl-executed-to-object thingy in $req. But I may have been lucky :) Not knowing exectly what you're trying to do, you may want to have a look at EMBPERL_IN

IIS setup question (URGENT)

2002-03-19 Thread Andrew O'Brien
mation Services blah blah blah .. ie I haven't set some sort of execute permission somewhere. Looking at the properties of that folder in the Management Console, Execute Permissions are set to "Scripts and Executables". Help! -- Andrew O'Brien Senior Engineer

Re: IIS setup question (URGENT)

2002-03-19 Thread Andrew O'Brien
On Tue, Mar 19, 2002 at 08:14:36PM +1100, Andrew O'Brien wrote: > Help! :) Isn't that always the way? Got it working 5 minutes after I sent this email. The problem was that I had associated .epl files with "c:\inetpub\scripts\embpcgi.pl". It should have been: "c:\

Embperl CGI and IIS howto

2002-03-19 Thread Andrew O'Brien
home and this might be the simplest solution if they're forced to run embperl under IIS. Cheers -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 092 286 327fa

Embperl CGI and IIS howto 1.1

2002-03-24 Thread Andrew O'Brien
Attached. Updated to reflect the ppm packages kindly provided by Randy Kobes. -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 092 286 327fax: +61 2 9299 1134

Re: Objects within an Embperl page

2002-03-25 Thread Andrew O'Brien
to get at SMB info in Perl > without going to all the trouble of mounting the share... Depends on what sort of info you need. If you're talking about browsing files/directories then I would assume you need it to be mounted. -- Andrew O'Brien Senior Engineer email: [E

Re: Objects within an Embperl page

2002-03-25 Thread Andrew O'Brien
On Mon, Mar 25, 2002 at 11:51:32PM +, Earwig wrote: > On Tue, 26 Mar 2002, Andrew O'Brien wrote: [snip] > I'm not mounting. Filesys::SmbClient appears to make a fresh SMB > connection each time one of its methods (open, opendir, unlink, mkdir, > etc) is called. Run

passing javascript variable to embperl

2002-04-02 Thread Andrew Douglass
Can anyone tell me if it possible to pass a javascript variable to embperl without using forms? Cheers Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: passing javascript variable to embperl

2002-04-02 Thread Andrew O'Brien
On Wed, Apr 03, 2002 at 10:18:35AM +1000, Andrew Douglass wrote: > Can anyone tell me if it possible to pass a javascript variable to > embperl without using forms? No. :) javascript is completely client side while embperl is completely server side. HTTP being a completely stateless pr

Re: Talking about Embperl at the O'Reilly OpenSource Convetion 2002

2002-05-02 Thread Andrew O'Brien
money using embperl? It's only fair to contribute back when there's a need! Gerald - looks like you need to set up that paypal account and give us a target :) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phon

Re: Sending zip file to browser

2002-05-20 Thread Andrew O'Brien
- > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PRO

Error tracking

2002-06-07 Thread Andrew Lim
Hello. I have just finished a site using embperl (www.caltan.com). Thank you for this great software!!! BTW, I am getting below error constantly in my apache log file. I don't know which page this error is coming from. How do I trace this error into? Thanks Andy ---

Re: IIS Setup Problem (Perl)

2002-06-24 Thread Andrew O'Brien
ion (for support personnel) > > > Background: > You have attempted to execute a CGI, ISAPI, or other executable program from > a directory that does not allow programs to be executed. > > > More information: > Microsoft Support > > *****

Re: problem using Apache::Session

2002-08-28 Thread Andrew O'Brien
should ask you for configuration information during the make sequence (read the docs beforehand so you know what to expect and what answers go with what) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133

Re: [ -Execute ( ' * ' ) -] Doesn't Work!

2002-09-30 Thread Andrew O'Brien
t; whenever I add new boilerplate files I have to go into each subdirectory and > add the symlinks. If you want common base files for a lot of things then have a look at EMBPERL_OBJECT_ADDPATH I usually have this directory within the document tree but I don't think thats necessary (o

  1   2   >