I tried this on Firefox/Ubuntu and Safari/OSX10.4. WIth Firefox, it showed Dec in the first box and 2008 in the second box, and i could choose a year from 1948 to 2067. With Safari, it showed up like the screenshot you posted, with a 0 as default and every number from -60 to 59 in the list. Seems to be an issue with their javascript and Safari.
Loonacy
@Loonacy
Best posts made by Loonacy
Latest posts made by Loonacy
-
RE: IEEE.org User Registration
-
RE: World's most pointless dynamic SQL
@savar said:
Maybe i'm missing something, but there isn't necessarily any danger of SQL injection here. It's a function, so the $id variable might be getting validated before the function gets called, or it might be coming from a source that would never give anything other than valid data.@tdb said:
I suppose the point could be to check whether that ID exists in the database?
Even if it is, the code is still stupid. SQL injection and the variable is named $the_sql, which is completely pointless.
-
RE: Ubuntu in C
@cconroy said:
You missed a golden opportunity there; I would have gone with "transpose it into C-pound".
Is that anything like C-numbersign? Cuz I have a book on that.
-
RE: Http://thedailywtf.com/wtf?sql=WHERE id eq 857
Some observations:
Any Y WHERE Y eid 857
This works exactly the same.
Any Z WHERE X eid 857
This throws an error: logilab-astng #3291: failure of inference on overloaded operators
http://www.logilab.org/ticket/3291
Also try:
http://www.logilab.org/view?rql=Any X WHERE X eid 856
http://www.logilab.org/view?rql=Any X WHERE X cid
http://www.logilab.org/view?rql=Any X WHERE X blah
(seems to search comments for the word "blah" or whatever you put in there.)
http://www.logilab.org/view?rql=First X WHERE X blah