Here are a few modules I have written for the Roxen web server.
Mailcloak is a roxen module intended to cloak email addresses. by
wrapping an email address in <mailcloak> tags, it is
replaced with a graphical version that links to a web based form for
sending an email to that address.
Mailcloak uses the email and gtxt modules to do most of the work. It requires Roxen 2.2 or later, as it uses the new database interface.
delay_sql creates a tag <delaysql> that works in a similar
manner to the Roxen <sqlquery> tag, with the difference
that <delaysql> passes the query to a background task, for
later execution after the page has been sent to the viewer.
An example of how it could be used is <delaysql host='db' query='update counters set visits=visits+1 where id=&form.id;'> to update a counter of pageloads ina database without delaying the returned page.
delay_sql does not use a callout - it submits the query to the Roxen background task queue so that it doesn't block or intefere with anything else on the webserver.
blocklist can be used to reject requests coming from hosts on a DNS based IP blocklist - such as the Abusive Host Block List or others.
If you have any questions, you can email me at .