News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

CatsWhoCode.com:
10 super useful PHP snippets
April 05, 2011 @ 08:38:10

The CatsWhoCode.com blog has a new post today with what they call super useful PHP snippets that could help you out in a pinch.

Having the right code snippet at the right time can definitely be a life saver for web developers. Today, I've compiled 10 really awesome PHP code snippets that will, I hope, be very helpful in your forthcomming developments.

Their list of ten includes bits of code for:

  • Super simple page caching (file-based)
  • Convert seconds to time (years, months, days, hours...)
  • Get current weather using Google API
  • Get latitude and longitude from an address
  • Save url to PDF
2 comments voice your opinion now!
snippet useful helpful


blog comments powered by Disqus

Similar Posts

Sameer Borate's Blog: PHP 5.4.0 in a nutshell

Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate

Shawn Stratton's Blog: Code Readability, Part 1

AnyExample.com: 5 useful PHP functions for MySQL data fetching

PHPSnippets.info: Convert currencies using PHP, Google and cURL


Community Events





Don't see your event here?
Let us know!


refactor symfony2 series language unittest introduction threedevsandamaybe release community list framework podcast api developer opinion testing laravel install code interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework