A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Monthly Archives: September 2007

LOL. 3 hottest news on the PHP Community (9-8-2007)

LOL. I just noticed this today. Nothing special – but I find this amusing This is the screenshot from my Google Homepage.

Posted in Uncategorized | Tagged , | Leave a comment

Apple releases new iPod Touch and new versions of Nano

Apple has release a new iPod called iPod Touch. It has Wi-Fi and a touch screen just like the iPhone! And the new iPod Nano can now play videos! Click here for the iPod Touch Specs.  And here for Apple.com

Posted in Uncategorized | Tagged | Leave a comment

A guide to terms and buzzwords for online crime

Here is a nice little list from the BBC: CROSS-SITE SCRIPTING A sophisticated phishing attack that exploits weaknesses in the legitimate sites of financial institutions to make attempts to trick people into handing over confidential details more plausible. A successful … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Modifying table row attributes using Javascript

Here is a quick and simple tutorial to modify table row attributes. The tutorial assumes that you already have a class assigned for the TR tag – let’s say you are trying to do a zebra-style table where each row … Continue reading

Posted in General | Tagged | Leave a comment

Securing PHP

Yet another article that caught my attention. Definitely a good read.  A quick explanation of almost everything that developers must look out for. Straight to the point. This article shows the basic steps in securing PHP, one of the most … Continue reading

Posted in Uncategorized | Tagged | 1 Comment

Differences and Similarities between PHP and Ruby on Rails

A very interesting post since I have been keeping an eye on RoR for sometime now. Some snippets below… There are rather significant syntactical differences between PHP and Ruby. For example PHP requires semicolons at the end of lines and … Continue reading

Posted in General | Tagged , , | Leave a comment

MySQL String Functions Made Easy – LEFT, SUBSTRING, RIGHT

Here is a quick tutorial: SELECT *, CONCAT(LEFT(DateRegular,4),"-",SUBSTRING(DateRegular,5,2),"-",RIGHT(DateRegular,2)) AS myDateRegularized FROM myCoolTableName WHERE ShortName NOT IN (SELECT employee_shortName FROM employee) AND LENGTH(DateRegular) >= 1 AND ( CONCAT(LEFT(DateRegular,4),"-",SUBSTRING(DateRegular,5,2),"-",RIGHT(DateRegular,2)) >= "2007-07-08" AND CONCAT(LEFT(DateRegular,4),"-",SUBSTRING(DateRegular,5,2),"-",RIGHT(DateRegular,2)) <= "2007-08-31" )

Posted in General | Tagged | 4 Comments

Very Simple File Upload Tutorial

Here is a simple file upload tutorial found in PHPBuilder. All the pages and the extra content on the website is a bit annoying. But you can click the “printable version” of the page to view the whole tutorial in … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

PHP, ASP.NET, Ruby On Rails Job Comparison

Like the author, I don’t know Ruby on Rails. But I have been hearing about it a lot for the past few months. Recently, I had a discussion with a friend about the beauty of RoR – How fast development … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Free domain name for Starcraft 2 Fans

I own starcraftdomain.com – the thing is, I am too busy at the moment and the domain name will probably go stale if I don’t do anything about it. I have decided to give it to anyone willing to develop … Continue reading

Posted in Uncategorized | Tagged | Leave a comment