Post Updates to Buffer Using the Buffer API

Post updates to buffer using this library – details documentation about the api is available from

file_get_contents with gists

Doing a regular file_get_contents with gist API will return forbidden to allow the connection the user agent should be passed with the request.

Get City from IP Address Using ipgpnet

Using an API from this snippet demonstrates getting a city from an IP address pass the IP address in a var called $ip and the API key in a var called $apikey. If the session has not been created then a lookup is done and the city is added to a session.