diff --git a/imgcaptcha_im.php b/imgcaptcha_im.php new file mode 100644 index 00000000..152d92ad --- /dev/null +++ b/imgcaptcha_im.php @@ -0,0 +1,7 @@ + diff --git a/imgcaptcha_p.php b/imgcaptcha_p.php new file mode 100644 index 00000000..9543dc6c --- /dev/null +++ b/imgcaptcha_p.php @@ -0,0 +1,5 @@ + diff --git a/inc/imgcaptcha.php b/inc/imgcaptcha.php index dae42752..77441fce 100644 --- a/inc/imgcaptcha.php +++ b/inc/imgcaptcha.php @@ -39,7 +39,7 @@ $converter = new Encryption; return $converter->encode($enctext); } - function ac_verifyHash($enctext, $output) { + function ic_verifyHash($enctext, $output) { //print "VERIFY: " . $enctext . " " . $output . "
"; $converter = new Encryption; $dectext = split(",,",$converter->decode($enctext)); diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js index dd313fad..d8f922fe 100644 --- a/js/imgcaptcha.js +++ b/js/imgcaptcha.js @@ -3,9 +3,9 @@ //} function imgcaptcha_odswiezKapcze() { - $.get("/inc/imgcaptcha_p.php", function(data) { + $.get("/imgcaptcha_p.php", function(data) { $("#imgcaptcha_hash").val(data); - $("#imgcaptcha_img").prop("src","/inc/imgcaptcha_im.php?cr=" + data); + $("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data); }); } //function resetujKapcze() {