Js 5 broken. (spoilers)
Okay, so I did some research on getYear, put what I thought was the correct year in, then submitted. It gave me a "Good job! You got it!" then redirected me to "Wrong Answer! Why don't you do some research on the code!"
So I tried one other possibility, also wrong, except this time I just got a plain "Try again".
Hmm. Looking at the js code, I would have to disagree.
There are two options that it gives you.
1 is alert("Good job! You got it!"); window.location.href=year+".php"
Which means that if you enter what I am presuming to be the password it wants, it will redirect you to /js/js5/2006.php which is the page for the wrong answer.
Otherwise it will give you the try again message and leave you at the blank page that you get if you put in the wrong password.
Would I be correct in assuming that there is no third option? And thus there is no redirect to the "Congrats! x points has been added!" page? Or am I just a noob and totally missing something? (and believe me this is a huge possibility)
Edit: just to clarify I tried it with the broken getYear and that answer didn't work either.
"year" or "getYear"?
I know what happens when you use getYear. In the case of this script year is just a variable unless I'm reading it wrong. However, getYear is based on 1900 in some browsers. It happens to work normally in mine (IE).
Anyway, it seems to me that the issue here is that there are only two possible links to go to, and neither one is the correct one. Of course, I'm a js nub, but… I think I'm reading it right. If anyone wants to look over what I'm doing wrong via PM's, I'd be much obliged.
if i remember the thing is date format :|
i just setted up one phpfusion and i cant login using IE, and i can login using firefox. man when i remmember how stupid i was few years ago when i was stubborn for IE, not wanting firefox…. firefox rulz
edit: yes its format. ive been searchin something for javascript 14 as i have no idea where to start looking so i found this. it should help you on javascript 5 greatly. http://hellboundhackers.org/readarticle.php?article_id=321