10 life-saving PHP snippets

In order to be efficient, a web developer should have a toolbox with code snippets he can use and reuse when needed. In this article, Jean-Baptiste Jung is going to show you 10 extremely useful PHP code snippets to add to your web developer toolbox.

  • Highlight specific words in a phrase
  • Get your average Feedburner subscribers
  • Automatic password creation
  • Compress multiple CSS files
  • Get short URLs from Twitter
  • Calculate age using date of birth
  • Calculate execution time
  • Maintenance mode with PHP
  • Prevent js and css files from being cashed
  • Add (th, nd, rd, th) to the end of a number

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 6 years now, contributing to both Marketing and Content departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Place your comment about 10 life-saving PHP snippets




You must me logged in to write a comment
Comments

Be the first to place a comment