Re: Taking on PHP

2002-03-13 Thread Gavin Carr
On Wed, Mar 13, 2002 at 04:18:56PM -0500, Kee Hinckley wrote: > It sometimes scares me how popular PHP has become. Aside from not > being thrilled with it in general (bastardized Perl with a weak > architecture), I also don't want to be stuck using a templating > solution that gets marginalize

Re: Auto-loading an embperl file?

2002-03-13 Thread Andrew O'Brien
On Wed, Mar 13, 2002 at 04:20:12PM -0500, Kee Hinckley wrote: > I often find myself with a site where every page starts off with: > > [! Execute('common-set-of-routines') !] > > Is there anyway (other than Embperl::Object, which I may already be > using on portions of the site for other things)

Re: Taking on PHP

2002-03-13 Thread Axel Beckert - ecos gmbh
Hi! On Wed, Mar 13, 2002 at 04:18:56PM -0500, Kee Hinckley wrote: > It sometimes scares me how popular PHP has become. I believe that PHP made it probably because of less syntactic sugar (PERL is so sweet ;-) and probably easier installation / lesser requirements. For EmbPerl you need PERL,

Re: Taking on PHP

2002-03-13 Thread Ed Grimm
On Wed, 13 Mar 2002, Kee Hinckley wrote: > It sometimes scares me how popular PHP has become. Aside from not > being thrilled with it in general (bastardized Perl with a weak > architecture), I also don't want to be stuck using a templating > solution that gets marginalized. (Been down that pat

Auto-loading an embperl file?

2002-03-13 Thread Kee Hinckley
I often find myself with a site where every page starts off with: [! Execute('common-set-of-routines') !] Is there anyway (other than Embperl::Object, which I may already be using on portions of the site for other things) to configure this to happen automatically? -- Kee Hinckley - Somewhere

Taking on PHP

2002-03-13 Thread Kee Hinckley
It sometimes scares me how popular PHP has become. Aside from not being thrilled with it in general (bastardized Perl with a weak architecture), I also don't want to be stuck using a templating solution that gets marginalized. (Been down that path before, for years I used a embedded Perl sol

Re: Designing embperl for WYSIWYG editors - hope in embperl 2?

2002-03-13 Thread Kee Hinckley
At 1:36 PM +0100 3/13/02, Gerald Richter wrote: >You can define a syntax module that is derived from Embperl::Syntax::HTML, >this would could contain something like > > >sub new > > { > my $class = shift ; > > my $self = Embperl::Syntax::HTML::new ($class) ; This reminds me of somethi

Naming schemes for general web packages

2002-03-13 Thread Kee Hinckley
I know I asked this a long time ago (years?), but naming things have changed, so I have a number of packages that I want to release to the public. These mostly consist of a database component, a perl library, and a set of embperl include files and/or templates. The perl library is often

Re: ANNOUNCE: Embperl 2.0b6

2002-03-13 Thread Neil Gunton
Gerald Richter wrote: > This release contains all features that I have planed for 2.0. So I will now > focus and bugfixing and documentation. Please give this beta a try and give > me feedback, so we soon can make a final 2.0 release. Congratulations, Gerald! I will try to make the time to instal

Re: Off-topic: Re: PBrowse, DSurf et al

2002-03-13 Thread Neil Gunton
Leeland Heins wrote: > > A little searching on Google shows that those user agent strings > show up in significant numbers all over the web, in people's > user agent logs and guest books. > > My guess is that they are somehow searching for guestbooks > because those often have people's email add

Re: PBrowse, DSurf et al

2002-03-13 Thread Neil Gunton
Axel Beckert - ecos gmbh wrote: > RSurf seems to be from home.com while PSurf seems to come from > qwest.net, Optonline.net and Roadrunner.Net, according to > http://www.clearwaterbeachcam.com/d--skinner/spiders.html and/or > http://www.psychedelix.com/agents.html > > They also seem to submit (em

Re: ANNOUNCE: Embperl 2.0b6

2002-03-13 Thread Wim Kerkhoff
Gerald Richter wrote: > > I am very happy to announce the 6th beta of Embperl 2.0. It contains a lot > of important improvements since the last beta release: > This release contains all features that I have planed for 2.0. So I will now > focus and bugfixing and documentation. Please give this

Re: PBrowse, DSurf et al

2002-03-13 Thread Axel Beckert - ecos gmbh
Hi! On Wed, Mar 13, 2002 at 03:04:27PM -0500, Neil Gunton wrote: > > Try to find out (using whois or nslookup), if the IP belongs to some > > ISP. If yes, then complain to abuse@: This often helps. > > Many times the IP address comes back as unresolvable. whois should also give you the owner o

Re: PBrowse, DSurf et al

2002-03-13 Thread Neil Gunton
Axel Beckert - ecos gmbh wrote: > There is a more easier way, which doesn't need mod_perl. I would use > something like the following: > > BrowserMatchNoCase "(PBrowse|[DPR]Surf15a)" is_a_bot > > [...] > Deny from env=is_a_bot > Huh, I hadn't seen mod_setenvif before. I'll play

Re: PBrowse, DSurf et al

2002-03-13 Thread Axel Beckert - ecos gmbh
Hi! On Wed, Mar 13, 2002 at 02:08:35PM -0500, Neil Gunton wrote: > There are some User-Agents that keep hitting my site, and they're > driving me up the wall. [...] I have blocked these agents (using > the BlockAgent script in the O'Reilly mod_perl book), There is a more easier way, which doesn

Off-topic: Re: PBrowse, DSurf et al

2002-03-13 Thread Neil Gunton
There are some User-Agents that keep hitting my site, and they're driving me up the wall. They seem to be spambots of some kind, since they always come in looking for the same page and, if allowed, only traverse links which have words like 'guestbook', 'message', 'post', etc. They ignore robots.tx

Re: TIEHASH error with upgrade to most recent everything

2002-03-13 Thread Kee Hinckley
At 1:42 PM +0100 3/13/02, Gerald Richter wrote: > > >> I put a "use Apache::Table" in my code just for fun and it didn't >> complain, but I got the same error. I'll keep playing with it. > >Then it really looks to me as if you don't have table support enabled when >build mod_perl. Maybe you ha

Re: cookies not expiring on IE.

2002-03-13 Thread Gerald Richter
> > Is this an IE problem or my code is wrong? > Your code seems ok, I would suggest to set the option that IE should ask always before accepting a cookie, then you can click on details and see what you get send. Gerald > Andrew > > ++ > my $cookie1 = cookie(-na

Re: TIEHASH error with upgrade to most recent everything

2002-03-13 Thread Gerald Richter
> > I put a "use Apache::Table" in my code just for fun and it didn't > complain, but I got the same error. I'll keep playing with it. Then it really looks to me as if you don't have table support enabled when build mod_perl. Maybe you have build mod_perl with table support, but load another ver

Re: Designing embperl for WYSIWYG editors - hope in embperl 2?

2002-03-13 Thread Gerald Richter
Hi, yes, of course there is hope :-) > > Here's what I'd like to be able to do, making up some syntax on the > fly. (Including a new kind of sub declaration, but you get the idea.) > > Home > > [$ sub pagelink($tagname, $tagarray, $taghash, $tagstring, > $content, $endtag) $] > H

ANNOUNCE: Embperl 2.0b6

2002-03-13 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0b6.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0b6.tar.gz size: 623200 bytes md5: 966e109d700fb76e6df18316c1cf16a1 Embperl is a system for building dynamic websites with Perl. See http://perl.ap