Monthly Archives: Dicembre 2009
Tiny url encode and decode with PHP
The first functions make short urls using tinyurl.com service. It’s a very popular function on the web, you can find…
Validate email with smtp
This function validate a mail address in a smart way: if the address to validate has a correct syntax (checked…
Decimal Degrees conversion and distance of two points on google map
Those two functions are usefull when you’re making Google Maps applications: When you show the coordinates of a point, it’s…
PHP bot to grab meteo information from Google
Google has many usefull functions that give you data fast, such as cinema infos, or for meteo forecasts. I think…
ASP web bot that get exchange rates
Thanks to Bank of Italy (Banca d’Italia), there are free exchange rates data that are easy to retrieve and parse,…
PHP Session class with crypted cookies.
This class was built to handle session variables, I made this class because once I had to use session variables…
Javascript Ruler for Google Maps v3 to measure distance on map
Javascript example for measuring distances on a Google Maps with a ruler.
Min height cross browser CSS
In CSS version 2 there is a “min-height” property, but it doesn’t work in the same way in every browser,…
Detect user language with PHP
This function uses php server variables to detect the “possible” language of the browser of the connected user. This let…
Mini gallery/slideshow with PHP and JQuery
Sometimes I’ve had to quickly put in a page a simple slideshow, the first times I’ve searched a lot around…
Clustering many markers with Google Maps v3
I’ve found this blog where Matthias Burtscher converted the Marker Cluster (like the Phoogle2) for Google Maps API v.3. Since…
For next project: Google Analytics API
This is a memo, because at the moment I don’t need to use this new API from Google, but since…
How many users are connected?
This two function returns the number of users connected to your site. Since HTTP is asyncronous, the only way to…