Re: drop down calendar

2005-03-15 Thread Nate Smith
Most people do this with javascript. I implemented a full-page calendar in embperl, with Date::Calc and a few other Date:: modules, but it sounds like you want something like http://javascript.internet.com/calendars/calendar.html This? On Tue, Mar 15, 2005 at 12:25:34PM -0600, Ben Kim wrote:

Subroutine problem

2004-06-07 Thread Nate Smith
, also attached. This is the same code, cut/pasted and embperl'd. Anybody have any idea why I can't do something like this? I'm calling an Embperl function which calls another function, which in turn calls one other function 4-5 times, to build a data structure of the days that shou

Re: Configuration Question

2004-05-28 Thread Nate Smith
Please disregard parent message! After capturing some http headers I saw that embperl was sending the cookie, and my browser wasn't getting it. I just commented out all the PerlSetEnv EMBPERL_COOKIE.* lines in my config and it works fine.. Thanks Nate Smith On Fri, May 28, 2004 at 07:23

Configuration Question

2004-05-28 Thread Nate Smith
obviously wrong with my configuration? Thanks, Nate Smith ## Begin Apache Config ## PerlModule Apache::DBI PerlModule Apache::Session; PerlSetEnv PATH " " PerlSetEnv EMBPERL_DEBUG 2359297 SetEnv EMBPERL_VIRTLOG /embperl/log SetHandler perl-script PerlHandler HTML::Embperl Options

Re: EmbperlObject OBJECT_BASE question..

2002-09-12 Thread Nate Smith
text/html .pup Nate Smith On Thu, Sep 12, 2002 at 02:39:48PM -0400, Nate Smith wrote: > > To clarify, other pages send a header with Content Type > text/html; the .pup pages I'm describing are sent with > type text/plain. > > Nate > > > On Thu, Sep 12,

Re: EmbperlObject OBJECT_BASE question..

2002-09-12 Thread Nate Smith
To clarify, other pages send a header with Content Type text/html; the .pup pages I'm describing are sent with type text/plain. Nate On Thu, Sep 12, 2002 at 02:10:38PM -0400, Nate Smith wrote: > > Hi, > I saw your post : > > http://www.ecos.de/~mailarc/embperl/2

EmbperlObject OBJECT_BASE question..

2002-09-12 Thread Nate Smith
distinct. I made my ptemplate.epl in the same directory as a test.pup. When I request test.pup it returns just the text generated by embperl, such that it is not interpreted as HTML. Any ideas? I've tried it with different ESCMODE and OPTIONS as well, with same results.

Re: Question about preserving whitespace...

2002-09-10 Thread Nate Smith
-12-.htm but I don't know why it wouldn't leave that space inbetween tags alone either.. Nate Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question about preserving whitespace...

2002-09-10 Thread Nate Smith
d break in the html document that then gets parsed by the browser.. HTML doesn't recognize whitespace in the document itself without a (preformatted) tag. So you could do one of two things: [$ if (blah) $] text1 [$ endif $] [$ if (blah2) $] text2 [$ endif $] or use .. tags, but

Re: Deep Recursion

2002-07-23 Thread Nate Smith
Ok, for anyone following this thread, I got the recursive function to work, I will paste the source here. I could not declare it as an embperl sub, I had to declare it as a normal perl sub within an embperl block in the same file as I am using it. I tried about every other iteration without suc

Re: Deep Recursion

2002-07-22 Thread Nate Smith
On Sun, Jul 21, 2002 at 03:25:03PM +0200, Gerald Richter wrote: > > > > I am not having much luck getting a recursive function to work as it > > should. > > You need to localize your variables, otherwise they will be overwritten by > the second call the the sub: When I do this, it appears as if

Unititialized Values (?)

2002-07-15 Thread Nate Smith
ttime -> HTML::Embperl::DOC::_1 Am I missing something really obvious? Nate Smith -- "Why do so many otherwise intelligent people look for answers to serious questions in systems purely of their own devising, which are able to prove on their own terms that they don't even have the

Re: %udat + session killing

2002-02-20 Thread Nate Smith
Given just the session id created by embperl, how can I kill that session? Thanks, Nate Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

%udat + session killing

2002-02-14 Thread Nate Smith
that if i delete their session row from mysql, it just sends them another cookie and allows them to continue their session as if nothing has changed but their %udat{_sessions_id}. Is there a way to "pull the session out from under them" so to speak? Thanks, Nate Smith using embperl 1.3.

Re: SessionX

2001-10-30 Thread Nate Smith
> the following is correct: > > PerlSetEnv EMBPERL_SESSION_CLASSES "File Semaphore" > PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/home/www/ssl/sessions" > PerlModule HTML::Embperl; > > Gerald Whoops! Thanks, I'm a little slow today ... i was thinking you meant something else.. That fixed it of

SessionX

2001-10-29 Thread Nate Smith
se, and never see any entries created in the sessions table. What *does* happen, is the udat information appears and dissapears depending on the child process of apache that I happen to connect to. This implies that embperl is *not* using the setup I have define

Re: EmbperlObject problem

2001-09-06 Thread Nate Smith
I fixed teh problem apparantly by putting the two lines in question within the FilesMatch section. Any other insights, comments are appreciated. On Thu, 6 Sep 2001, Nate Smith wrote: ==> ==>Hi, I recently implemented a site using embperl, but like a lot of people on ==>the list am

EmbperlObject problem

2001-09-06 Thread Nate Smith
turn OK if lc $allow eq 'yes'; if (lc $allow eq 'no') { $r->log_reason("Access Forbidden unless allow is yes", $r->file> return FORBIDDEN; } $r->log_error($r->uri, ": Invalid value for Allow

EmbperlObject problem

2001-09-06 Thread Nate Smith
turn OK if lc $allow eq 'yes'; if (lc $allow eq 'no') { $r->log_reason("Access Forbidden unless allow is yes", $r->file> return FORBIDDEN; } $r->log_error($r->uri, ": Invalid value for Allow

session RTFM

2001-08-09 Thread Nate Smith
PerlSetEnv EMBPERL_SESSION_CLASSES "File Semaphore" PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/home/www/sessions" PerlModule HTML::Embperl; But I don't see any evidence of a file actually being written to when i access a page with %udat in it. Is there something I'm missing?