[pmwiki-users] running a bit of my own php

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 17 08:58:39 CDT 2006


On Sat, Jun 17, 2006 at 01:48:31AM +0100, David Goadby wrote:
> I now have a captcha (grahpics password) generator that works. It generates
> a png image. Initially I am going to use a fixed password but later might
> make things more dynamic.
> 
> Here's the problem: I want to run the captcha php early enough in a wiki
> session so that the password read from pmwiki can be used to create a png
> image which can then be incorporated into the wiki sidebar.
> 
> Where, and how, can I put a "called once" php routine into PmWiki - without
> breaking it?

What do you mean by "called once"?  (The best place to put any
sort of php routine in PmWiki is into local/config.php, or a
file included by local/config.php.)

Pm




More information about the pmwiki-users mailing list