Quantcast
Channel: Tim Igoe's Web Design, Development and Hosting Blog » PHP
Browsing latest articles
Browse All 8 View Live

PHP – Page Generation Time

This little snippet of code will enable you to put a page generated in bit at the bottom of your pages. function maingetmicrotime() { list($usec, $sec) = explode(" ",microtime()); return((float)$usec +...

View Article



PHP – Geolocation

Need to know the location of your site users to target some specific data at them? Geolocation is the answer, find out the location of the IP Address that that user is coming from. This tutorial uses...

View Article

PHP – Stop Site using too much CPU

Got a popular site that sometimes gets out of control with CPU usage? Need to curb it so it doesn’t spiral. With this little snippet of code in your page (near the top), it makes a quick check to see...

View Article

PHP – Autoload Includes based on Class name

[b]Please note, this code is for PHP5 and above only.[/b] While writing lots of object orientated PHP5 code, you may find you need lots of include() or require() statements, it gets repetitive to keep...

View Article

PHP – Check Service Status

Got multiple servers? Want to know they are still up by looking at once place? Want to give your users an easy to see status page? A quick way to test if a server or service is up is to try connecting...

View Article


PHP – Watermarking Images

We see images all over various websites, we also see a lot of those images are watermarked with that sites ‘stamp’ (logo). This is to stop other people using the image without acknowledging the source...

View Article

PHP 5.2 Support Ends just as developers start to adopt it

With the recent release of PHP 5.2.14 the PHP Team has decided to end active support for this branch of PHP. This means there will be no further active development or bug fixes to this branch of PHP....

View Article

Is it good to work without a framework now?

My initial thought would be “god no”, however there are some benefits to working without one. The biggest advantage to what I’ll call stray code, without any form of framework is its easy to add to,...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images