homepage Welcome to WebmasterWorld Guest from 54.166.173.147
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Problem getting third parameter from $_GET
When this can happen?
GreenLeaf




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

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




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

Maybe they are only submitting the first two?

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

GreenLeaf




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

Thanks for advice!
I'll try it.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved