HAYAJOUDEH20 / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

I'm having issues with php API #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. test the mailhide php sample app.

What is the expected output? What do you see instead?
------------------------------------------------------
Mailhide output correctly but i'm having a lot of warnings with php pack
function invocation

What version of the product are you using? On what operating system?
---------------------------------------------------------------------
I'm on a share hosting with some control over php instance.  version is 5.0.51a

Please provide any additional information below.
--------------------------------------------------

My code:
========
<html><body>
<?
require_once ("recaptchalib.php");

// get a key at http://mailhide.recaptcha.net/apikey
$mailhide_pubkey = '6LdfIgMAAAAAAPDxAW-7Oprn-qcPPKPQe5mGUwP7';
$mailhide_privkey = '6LdfIgMAAAAAAMw-e-WHJCK2jJnj4MQuhUM70GSf'

?>

The Mailhide version of example@example.com is
<? echo recaptcha_mailhide_html ($mailhide_pubkey, $mailhide_privkey,
"sample@gmail.com"); ?>. <br>

The url for the email is:
<? echo recaptcha_mailhide_url ($mailhide_pubkey, $mailhide_privkey,
"sample@gmail.com"); ?> <br>

</body></html>

Original issue reported on code.google.com by vasco.el...@gmail.com on 15 Sep 2008 at 11:51

GoogleCodeExporter commented 9 years ago
warning examples

Warning: pack() [function.pack]: Type H: illegal hex digit I in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Warning: pack() [function.pack]: Type H: illegal hex digit g in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Warning: pack() [function.pack]: Type H: illegal hex digit M in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Warning: pack() [function.pack]: Type H: illegal hex digit M in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Warning: pack() [function.pack]: Type H: illegal hex digit w in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Warning: pack() [function.pack]: Type H: illegal hex digit - in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Warning: pack() [function.pack]: Type H: illegal hex digit - in
/home/procurae/public_html/tools/recaptcha/recaptchalib.php on line 225

Original comment by vasco.el...@gmail.com on 15 Sep 2008 at 11:54

GoogleCodeExporter commented 9 years ago
You need to use a key from mailhide.recaptcha.net.

Original comment by ben.maurer on 15 Sep 2008 at 5:20

GoogleCodeExporter commented 9 years ago
I've had a similar problem. I used the right key, but there was a "space" 
character
in it (at the end). So I got a very cryptic error message. This could be 
handled a
bit more defensively.

Original comment by jeroen.t...@gmail.com on 24 Oct 2008 at 9:39

GoogleCodeExporter commented 9 years ago
Same here. And I also get an error when I want to view the email.

---------------------ERROR_1--------------------------------

Oops! reCAPTCHA had an error. If you email support@recaptcha.net with the code 
BC1546CE147F86CBEF216F2E9B45C63A we may be able to help.

---------------------ERROR_2--------------------------------

Warning: pack() [function.pack]: Type H: illegal hex digit L in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit g in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit w in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit Q in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit N in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit S in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit S in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit S in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit N in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit _ in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit R in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit q in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit S in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit - in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit w in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit G in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit W in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit J in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit _ in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit l in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit g in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit I in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Warning: pack() [function.pack]: Type H: illegal hex digit x in 
C:\xampp\htdocs\ptc\recaptcha.inc.php on line 237

Original comment by royboyjo...@gmail.com on 30 Dec 2008 at 2:50