I'm working on a webpage that will contain a poll. The way I tell if I should display the form to vote or the results is by checking to see if the user's IP address has been logged for this particular poll. However, I don't want to have my entire site run by a Perl program - having to generate code on every page hit is more computing power than I'd like to use.
Is there any way I can use something else - maybe SSI's "<!--#exec cmd=...>" or some other implementation to pass my existing poll %ENV? Particularly $ENV{REMOTE_ADDR}?
But that doesn't capture %ENV. Does anyone have any ideas?
Thanks.