View Single Post
Old 01-15-2013, 10:35 PM   PM User | #8
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,248
Thanks: 59
Thanked 3,999 Times in 3,968 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Well, I can *almost* read the site (I read Russian, so it's familiar looking).

Okay, so the "trick" to the site is your jtype=xxx query string. As in:
Code:
http://www.djinchebg.eu/top_emailed_jokes.php?jtype=emailed
or
http://www.djinchebg.eu/top_emailed_jokes.php?cat_id=8&jtype=emailed
But nowhere in the code you showed in your first post are you doing anything like
Code:
$joketype = $_GET["jtype"];
Also, I was right.

You get the *SAME RESULTS* for
Code:
http://www.djinchebg.eu/top_ten_jokes.php?cat_id=8&jtype=ten
and
http://www.djinchebg.eu/top_ten_jokes.php?cat_id=8&jtype=emailed
!!! The jtype is *IGNORED*

Back in a while with all new code.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote