not support special characters in the text on sms example > Ñ
Tropo free sms client api class
Collapse
X
-
i have updated the archive and added v2.1.0 contains captcha. There is one known bug though, the valid human doesnt seem to work. I put a valid human setting that is supposed to turn off captcha automagically. When a user has entered the correct captcha x times, this is so that a user doesnt get pissed off (not that i care, its free anyway) but after a user has entered the correct captcha say 4 times, theres really no need to keep requesting captcha, hes proven to be a valid human. You can turn off the feature by setting a high value like 100000 lol.
Added after 22 minutes:
i just fixed it in my demo so you guys should fix it yall selves lol open process.php and edit the following:
PHP Code:// Find this line
$_human = (int) Arr::get($_SESSION, 'valid_human', 0, true);
// Change to ...
$_human = (int) Arr::get($_SESSION, 'valid_human');
// Then find this line...
$_SESSION['valid_human'] = $_human++;
// Change to...
$_SESSION['valid_human'] = $_human + 1;
Last edited by CreativityKills; 26.05.11, 18:46.
Comment
-
It worked!! thanks creativitykills!! You r talent guy!!
Originally posted by CreativityKills View Postpmpl i forgot to remove a debug var i used when i was debugging the code. Look for it at process.php and remove the var_dump($_SESSION) statement
oh now i understand you, you mean in my demo? Yeah i know, thats not my token, thats the form token, its randomly generated.
Comment
-
I got this error in my error log, can you please go through it, [29-May-2011 17:46:26] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in public_html/freesms/app/captcha_string.php on line 2
Comment
Comment