2 global $CALL_ME_FUNCTIONS;
4 $CALL_ME_FUNCTIONS["zzcaptchaimage"] = "gwvp_captchaCallMe";
7 function gwvp_haveCaptcha()
9 $thisloc = realpath(dirname(__FILE__));
10 if(file_exists("$thisloc/securimage/securimage_show.php")) {
11 include_once("$thisloc/securimage/securimage.php");
18 function gwvp_captchaImage()
20 if(gwvp_haveCaptcha()) {
21 $thisloc = realpath(dirname(__FILE__));
22 include("$thisloc/securimage/securimage_show.php");
26 function gwvp_captchaCallMe()
28 if(isset($_REQUEST["q"])) {
29 $query = $_REQUEST["q"];
30 $qspl = explode("/", $query);
31 if($qspl[0] == "securimage") {
32 error_log("calling captchaimage");
33 return "gwvp_captchaImage";