Re: comments enhancements

Bill Mill <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
> 2. Secret number image thingy. Depends on my plugin 'nospam', which
> itself depends on 'session'. They can be found here:
> http://www.c-area.ch/code/pyblosxom/plugins/
> 

Aww man, I was totally gonna do that. It was gonna be a neat little
PIL hack. Good stuff, you beat me to it. It looks exactly like I was
going to make it look. One question: how does it work with cgi? Does
it? Do you embed its value in a form?

I had a thought that, if you wanted to embed the number in a form, you
could do it and still be succesful. How? Simply by having a secret
multiplier stored in config.py. Before sticking the number in the
form, you'd multiply it by the number in config.py (which should be
world-inaccessible), and when you decode it, simply divide it by that
number. I thought that would be another neat little hack.

Good stuff.

Peace
Bill Mill
bill.mill at gmail.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.