Welcome to WebmasterWorld Guest from 23.22.250.113

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Problem getting third parameter from $_GET

When this can happen?

     

GreenLeaf

6:05 pm on Mar 9, 2006 (gmt 0)

10+ Year Member



I wrote a little script to count banner clicks to the db (MySQL). It does this via $_GET['parX'] variables from
click.php?par1=10&par2=20&par3=qqq

And i'm often getting database entries having correct two first parameters and empty third one. These clicks are often numerous (10-20 in a row), so i assume they may be from some bots masking for humans, but there are some that are only 1-2 in a row and they can be from real people.

How this can be that the third parameter from $_GET becomes empty?

Thanks in advance.

whoisgregg

8:58 pm on Mar 9, 2006 (gmt 0)

WebmasterWorld Senior Member whoisgregg is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Maybe they are only submitting the first two?

Try logging $_SERVER['REQUEST_URI'] to see what it contains.

GreenLeaf

9:01 pm on Mar 9, 2006 (gmt 0)

10+ Year Member



Thanks for advice!
I'll try it.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month