Re: [PHP] Looking for complete entered URL

2013-04-21 Thread Andrew Ballard
Correct. Just to expand on that, a browser will not send the hash fragment part of a URL with the request. If you ever receive that part at the web server, that's a pretty good sign the request came from a robot. Andrew On Apr 21, 2013 3:29 AM, "Ashley Sheridan" wrote: > > > tamouse mailing list

Re: [PHP] Looking for complete entered URL

2013-04-21 Thread Ashley Sheridan
tamouse mailing lists wrote: >On Sat, Apr 20, 2013 at 1:51 PM, Angela Barone > wrote: >> I've written a script that logs all visits to a web site, >complete with referrer and IP address. It also logs all 4xx errors. >What I'd like to add to this is, if someone adds extra code after th

Re: [PHP] Looking for complete entered URL

2013-04-21 Thread tamouse mailing lists
On Sat, Apr 20, 2013 at 1:51 PM, Angela Barone wrote: > I've written a script that logs all visits to a web site, complete > with referrer and IP address. It also logs all 4xx errors. What I'd like to > add to this is, if someone adds extra code after the page_name.php, to be > able t

Re: [PHP] Looking for complete entered URL

2013-04-20 Thread Tom Rogers
Hello Angela, Sunday, April 21, 2013, 4:51:37 AM, you wrote: > I've written a script that logs all visits to a web site, > complete with referrer and IP address. It also logs all 4xx errors. > What I'd like to add to this is, if someone adds extra code after > the page_name.php, to be ab

[PHP] Looking for complete entered URL

2013-04-20 Thread Angela Barone
I've written a script that logs all visits to a web site, complete with referrer and IP address. It also logs all 4xx errors. What I'd like to add to this is, if someone adds extra code after the page_name.php, to be able to capture any extra code and log that. I've tried: $_