Tech Exposures

Entries for the ‘PHP Programming’ Category

PHP Script – Show Google Search Term That Brought Visitor to Your Website

Find the Google Search Term Keywords That Landed the Visitor on Your Website
I always wanted to know when displaying the webpage what search brought the user to this page.  You can always look at Google Analytics, or whatever statistics package you have on your server (Urchin, Webalizer, etc…), but that is after the fact.  So, [...]

Easiest Way to Have a USA IP Address

Free and Legal Method for Acquiring a Reliable USA IP Address For Testing and Surfing While Outside the USA.
Q. You’re located outside the USA and need to test what your website looks like to your USA visitors.  What’s the easiest way to accomplish this for free an without pesky and unstable ip cloaks and expensive [...]

Programming: IE8 and PHP $ SERVER['HTTP REFERER']

IE Does Not Behave Like Firefox for Many PHP Variables
Forget it, IE doesn’t pass on the PHP referer variable.  You cannot rely on IE for the referer variable.
What’s really frustrating for LAMP programmers is that we often test in Firefox and things look great, and then you jump over to a Windows machine for QA [...]