Reshared post from +Paul Frields
The bit that gave me the lulz is the "upgrade" of try/catch/die to would_you_mind/actually_i_do_mind/cheerio.
Embedded Link
If PHP Were British – Added Bytes by Dave Child
If PHP Were British. When Rasmus Lerdorf first put PHP together, he – quite sensibly, despite his heritage – chose not to write it in Greenlandic or Danish. Good job too – that would have been rather …
Google+: View post on Google+
Related
// Some basics of writing #secure #code from Nathan Good at IBM1) Validate input2) Guard your file system3) Guard your database4) Guard your session data5) Guard against Cross-Site Scripting (XSS) vulnerabilities6) Verify form posts7) Protect against Cross-Site Request Forgeries (CSRF)Kind of seem obvious, but they are not to a lot…
New #PHP book from Sitepoint, ordered, looking forward to the weekend to read it :) Embedded Link Home - PHP Master: Write Cutting-Edge Code Sharp, sure-fire techniques guaranteed to take your PHP skills to the next level Google+: View post on Google+
If you are in a situation that you need to show different content to your visitors depending on their location, an easy way to do it is with #PHP using MaxMind's IP database. MaxMind is offering commercial database of locations for IP addresses, but they also have a free product…