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:
, 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
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
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
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,
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
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.
-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]
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
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
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
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
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]
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.
> 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
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
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
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
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
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?
20 matches
Mail list logo