Hello
Having an issue getting a piece of code to work, I just don't understand it as well as I thought.
Goal: All capitals Captcha to accept lower case. ( people just dont get that its case sensitive)
Im supposed to find this :
if ($SESSION['spam_code'] != $POST['spam_code']) {
Replace this part:
$_POST['spam_code']
With this code:
strtoupper($_POST['spam_code'])
The issue is that the code really looks like this on one of the several pages I needed to change:
if ($POST['spam_code'] != $SESSION['spam_code'] || !isset($SESSION['spam_code']) || $SESSION['spam_code'] == NULL ) {
Now before you go accusing me of trying to spam someone or worring that your helping me do something wrong, my software is osDate and here is the page Im getting these instructions from:
MOD EDIT: External link removed
I had some guy earlier in chat trying to convince everyone i was the reason their mailboxes were full of spam , because of people like me, etc... I was pretty offended, especially since i havent been able to figure out what to do with this variable.
I have put it every way I know how with () behind it, before the if, after the if, in ( ) , and ( (, im just not good enough at it to figure it out yet.
Thanks for your help, alex