Category Archives: php

php coding standards

Why coding standards? In big projects, in any project, they’re essential: understandeable, much easier, solid code. Perfect, mandatory for a team. The objective is to have all decisions documented, choices and standards that I will stick on when developing. Important … Continue reading

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted in codeigniter, featured, php | Tagged , , , , , , | 2 Comments

free graphs and charts for php jpgraph and ruhanirabin share this on…

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted on by fulgen | Leave a comment

the definitive regular expression to validate emails (preg_match) /^([\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+\.)*[\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+@((((([a-z0-9]{1}[a-z0-9\-]{0,62}[a-z0-9]{1})|[a-z])\.)+[a-z]{2,6})|(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$/i http://fightingforalostcause.net/misc/2006/compare-email-regex.php share this on…

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted on by fulgen | Leave a comment

date semantics

When dating a blog post, a comment, an article, there is usually a semantic problem. Either “07/01/09, 5:04″ or “7 January 2009 17:04 CET”, or even “1 days, 2:04:33 ago” are not very user friendly. This post shows how to present a shorter, more semantic date and time, and how to calculate it with PHP. Continue reading

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted in php | Tagged , , , , | Leave a comment

regular expressions: a tutorial, a bunch of examples and a thourough list of tools share this on…

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted on by fulgen | Leave a comment

a comparison between both php frameworks: codeigniter vs symfony share this on…

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted on by fulgen | Leave a comment

when geolocation becomes a problem

Following the excellent article in smashingmagazine about geolocation, in their comments I found these interesting ideas: In a world where a lot of people travel and bring their laptops or iPhones, it is nonsense that a website turns to a … Continue reading

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted in geo, php | Tagged , , , | 3 Comments

solution to the uniq-qinu error in mediawiki

An error known as UNIQxxxx - xxxxQINU could arise when some code or text is passed twice through the parser. Badly written extensions, inapropriate wiki text or tags, a number or reasons could show this marker. Continue reading

share this on...
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • email
  • Google Buzz
  • LinkedIn
  • Meneame
  • PDF
  • RSS
Posted in featured, mediawiki, php | Tagged , , , , , , | Leave a comment