On Thu, 7 Jun 2007, Perrin Harkins wrote:
On 6/6/07, Tina M=FCller <[EMAIL PROTECTED]> wrote:
> well, many people say, why optimize code if the database is slow anyway.
No offense, but those people are entirely correct. Choosing a
template module because of its speed when your application is
Hi All,
I'm running the latest mp2 with Libapreq.
Is there some method to duplicate CGI.pm's escape and unescape methods? I found
escape_path, but obviously that isn't the same thing. I'm trying to remove
CGI.pm from all my code and these are the last 2 things I need to take care of.
TIA!
On Jun 7, 2007, at 9:57 AM, cfaust-dougot wrote:
Hi All,
I'm running the latest mp2 with Libapreq.
Is there some method to duplicate CGI.pm's escape and unescape
methods? I found escape_path, but obviously that isn't the same
thing. I'm trying to remove CGI.pm from all my code and these a
Jonathan Vanasco wrote:
> I use URI::Escape
>
> http://search.cpan.org/~gaas/URI-1.35/URI/Escape.pm
>
> its small, and comes in the std perl distro
Good for URI escaping, but that's not the same thing as HTML escaping, which is
what CGI's escape/unescape do right?
--
Michael Peters
Devel
On 6/7/07, Tina Müller <[EMAIL PROTECTED]> wrote:
but you still save CPU if you have fast templating. maybe you can save a
number of machines.
Unless your templating engine is showing up pretty high on your
Devel::DProf output, you're probably not going to save much. Saving
5% won't mean savin
Perrin Harkins wrote:
>
> If it's your AJAX request getting redirected, that shouldn't cause the
> page to refresh. It may require some changes to AuthCookie to get the
> effect you want though. Or you can go the easy way and use an IFRAME.
>
> - Perrin
>
How do I use IFRAME here? Can you
Hi Adam,
You are perfectly right. However, I'm in dire need of a Ajax style login.
Do you have any clue on how to go about implementing the sytem?
Adam Tistler wrote:
>
> Even if you use AJAX, the page will still refresh because the AuthCookie
> module's authentication method redirect's you b
Yes, I'm trying to HTML escape/unescape, although looking at URI::Escape it
seems like it might work. I'll have to give it a try.
Thanks!!
From: Michael Peters [mailto:[EMAIL PROTECTED]
Sent: Thu 6/7/2007 10:32 AM
To: Jonathan Vanasco
Cc: cfaust-dougot; modperl
On 7 Jun 2007, at 16:05, cfaust-dougot wrote:
Yes, I'm trying to HTML escape/unescape, although looking at
URI::Escape it seems like it might work. I'll have to give it a try.
There's a lightweight HTML escaper in HTML::Tiny. No unescaper though.
--
Andy Armstrong, hexten.net
cfaust-dougot wrote:
> Yes, I'm trying to HTML escape/unescape, although looking at URI::Escape it
> seems like it might work. I'll have to give it a try.
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Util__escape_html___
http://search.cpan.org/dist/HTML-Parser/
HTH
--Ge
That's what I needed!! Thanks Geoff!
-Chris
From: Geoffrey Young [mailto:[EMAIL PROTECTED]
Sent: Thu 6/7/2007 11:40 AM
To: cfaust-dougot
Cc: Michael Peters; Jonathan Vanasco; modperl@perl.apache.org
Subject: Re: Replacement for CGI.pm escape and unescape
cf
On Jun 6, 2007, at 10:19 AM, Anthony Gardner wrote:
The problem is, I have startup.pl being run twice when it's only
declared once in a .conf file which is Include(d) into httpd.conf.
there's a section in the docs about the apache startup cycle...
essentially, apache starts without binding
On Jun 7, 2007, at 10:52 AM, _spitFIRE wrote:
Hi Adam,
You are perfectly right. However, I'm in dire need of a Ajax
style login.
Do you have any clue on how to go about implementing the sytem?
just do an xmlhttprequest to your auth script.
have it redirect to a page that prints 0 if the
On Jun 7, 2007, at 10:32 AM, Michael Peters wrote:
Good for URI escaping, but that's not the same thing as HTML
escaping, which is
what CGI's escape/unescape do right?
oh, my bad.
then the module is HTML::Entities
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - -
Jonathan Vanasco-3 wrote:
>
> just do an xmlhttprequest to your auth script.
> have it redirect to a page that prints 0 if there is no login, 1 if
> they are logged in
> then have your js handle reading the var. its simple.
>
>
> // Jonathan Vanasco
Look at the control flow of Apache AuthC
On Jun 7, 2007, at 12:23 PM, [EMAIL PROTECTED] wrote:
Look at the control flow of Apache AuthCookie module and let me
know if it can be done!
http://search.cpan.org/~mschout/Apache-AuthCookie-3.10/lib/Apache2/
AuthCookie.pm
The control flow shouldn't matter-- if its doing a redirect based o
On 6/7/07, _spitFIRE <[EMAIL PROTECTED]> wrote:
How do I use IFRAME here?
If you Google for information on how to use IFRAMEs, I'm sure you'll
find better information than I can give you. The basic idea is that
it's a floating frame in part of your page where you put your login
form and show t
On Mon, 4 Jun 2007 14:30:01 -0400
"Perrin Harkins" <[EMAIL PROTECTED]> wrote:
> > I know what you mean, but the problem here is that this mod_perl
> > server *is* the reverse proxy :) There are several backend servers
> > which this server will both proxy and cache the content for -
> > mod_perl i
On Thu, Jun 07, 2007 at 10:32:54AM -0400, Michael Peters wrote:
> Jonathan Vanasco wrote:
>
> > I use URI::Escape
> >
> > http://search.cpan.org/~gaas/URI-1.35/URI/Escape.pm
> >
> > its small, and comes in the std perl distro
>
> Good for URI escaping, but that's not the same thing as HTML
On Jun 7, 2007, at 2:47 PM, Ronald J Kimball wrote:
CGI's escape/unescape do URI escaping. CGI's escapeHTML and
unescapeHTML
do HTML escaping.
Thanks for the clarification.
In my circle of friends/colleagues, we've always referred to URLs as
escape/unescape and HTML as encode/unencode
20 matches
Mail list logo