I'm implementing a Google reCHAPTCHA form and I guess the PHP version is 4 on the server, because I'm getting errors, like
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/htdocs/---SITE---/recaptchalib.php on line 7
So because it does not recognize the PHP 5-only protected
keyword, I'm getting errors. Can someone help me resolve this. There is no PHP4 version for the recaptchalib.php
? Or I can change the PHP headler in the .htaccess
file, but if the server is not supporting it?