eSnippets.net, a code gallery for creating, saving and sharing all kinds of code snippets.

Snippets Tagged "ip" 5 results found

Detect Location by IP (City, State) PHP 1240
Author: rpjs Posted On: Sunday, May 18, 2014

Find location of city and state by IP address, returns "City, State" if found otherwise defaults to "Hollywood, CA"

Strip Whitespace From String Javascript 682
Author: rpjs Posted On: Saturday, May 10, 2014

Whitespace, meaning tabs and spaces.

Clear Field on Focus Javascript 673
Author: rpjs Posted On: Saturday, May 10, 2014

Replace "value" with the default value. If the field is selected, the default value will go away. If the user has previously changed the field value, it'll be left alone.

Array of Country Names Javascript 692
Author: rpjs Posted On: Saturday, May 10, 2014

This will save you time, now you do not need to write all country names.

GZIP compression - make your site load faster htaccess 615
Author: rpjs Posted On: Sunday, May 4, 2014

Make your site load quicker by using gzip compression.