PHP Browser Detection Script v1.6
Chris Schuld has upgraded the PHP Browser Detection Script to version 1.6 to fully support PHP5.3 – and as always I have ported it back to PHP4
Archive for the ‘ PHP ’ Category
Chris Schuld has upgraded the PHP Browser Detection Script to version 1.6 to fully support PHP5.3 – and as always I have ported it back to PHP4
As the launch date gets closer and closer, IW and FourZeroTwo haven’t replied to rumors about the PC version being delayed a few weeks after the official launch date. In saying that IW may be trying to put a rush on it to get the deadline however that’s bad news for us PC heads as we’ve seen in the past with WaW; buggy, not ready for release game!
I personally would wait a few more weeks to make sure the PC version is right but game-server hosts and James Landi have their doubts as well Read more
The PHP Browser detection script has been upgraded and ported to PHP4 from PHP5.
http://mavrick.id.au/programming/2008/the-all-new-php-browser-detection/
Who would let thier host talk to them like this, Not Me!
Okay here is the first of many emails from Multitude3. Clearly this one is automated because I don’t host with these guys (and never will). I have posted the entire transcript. Read more
The php4 version of shuffle does not keep the array keys intact, here is a nifty function to add to your list Read more
A new project I am working on requires the use of Google Maps and location distances. I wrote a php function to pull apart the xml output from the Google Maps API.
Check it out here: php geocoding with google maps api
UPDATED to v1.6
Detecting the user’s browser type and version is helpful in web applications that harness some of the newer bleeding edge concepts. With the browser type and version you can notify users about challenges they may experience and suggest they upgrade before using such application. Not a great idea on a large scale public site; but on a private application this type of check can be helpful. Read more
Check out the new and updated version of mavrick web design code examples web site.
As it stands there are a few mootools code examples of 3rd party scripts and code hacks and extensions to the mootools framework.
Soon to come are articles on php and css coding just like here at mavrick.id.au
Click here for the new version.
An old php class written by Gary White back in 2003 is still by far one of the best PHP Browser detection class’s I have come accross.
It should correctly identify all versions of:
Click here to download browser.rar
In my last post PHP Speedy for WordPress it only supported a php5 version of JSmin, I have sourced a php4 version for you to use in your script. I will also include an example of how to modify PHP Speedy to include this script. Read more
If you’re not familiar with PHP Speedy and you run a wordpress blog then you should be. PHP Speedy is the ultimate tool in compressing and speeding up the load time and efficiency of your web site/blog.
I have incorporated this script into the FooBar CMS and recommend it too anyone who has a php built web site or WordPress blog with or without a lot of javascript and css includes. PHP Speedy will essentially grab all your javascript attachments and css attachments, open them, compress them (on the fly) with JSmin (php5) and then re-structure your html output to only include one attached javascript file and one attached css file, compressed and stored on your local web server ready for other potential visitors.
Sounds too good to be true? Then check it out for yourself.
Used in fooBar CMS – taken from the php.net web site in user contributed comments. This function is useful for people still running their websites on a php4 server as file_put_contents() is php5 only! Read more
Human readable PHP file size description function. Read more
Forum type time since function. Read more
Handy to have, taken from fooBar CMS. Read more