WebTechRiser.com > Webmaster

How do you detect a website visitor’s country?

There are some free services out there that let you make country and IP-based geolocalization from the client-side. wipmania is a free JSONP service can be used to determine visitor’s country, it’s really simple to use: <script type=”text/javascript”> // plain JavaScript example function jsonpCallback(data) { alert(‘Latitude: ‘ + data.latitude + ‘\nLongitude: ‘ + data.longitude + […]

How to switch to PHP5 using .htaccess

Overview Many shared server environments currently run .php scripts using the PHP4 interpreter and .php5 code using the PHP5 interpreter. Rather than changing all your file extensions, and perhaps breaking many links, use a .htaccess file to dynamically map one extension to the other. IMPORTANT CAVEAT: One common reason for doing this is that hosts […]