Troobleshooting a problem with $HTTP_REFERRER



I'm trying to troobleshoot a problem, but I can't tell if the problem is with my script or the way I'm trying to call it. I need to know...

If you are at an address like , and then you go to your php script by typing the path into the location bar, will $HTTP_REFERRER return the google address? Or do you need to actually click a link on the google page leading to your script?

If you need to actually click a link, then is there any way to troobleshoot a script like this if you don't have any pages on google?

Any advice about any of this would be MUCH appreciated. Thanks in advance.