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.

Tag Archives: PHP

AJAX and PHP

Here is an excerpt from a book – Beginning Ajax with PHP: From Novice to Professional. While the concept of Ajax contains a handy set of functionality for creating actions on the fly, if you are not making use of … Continue reading

Posted in General | Tagged , , | 2 Comments

Useful PHP Regular Expressions: For usernames, emails, ip address and more

Here are eight examples of practical PHP regular expressions and techniques that I’ve used over the past few years using Perl Compatible Regular Expressions. This guide goes over the eight different validation techniques and describes briefly how they work. Usernames, … Continue reading

Posted in General | Tagged | 1 Comment

40 ways to optimize your PHP Code

A must read for PHP Programmers. Here is the first half: If a method can be static, declare it static. Speed improvement is by a factor of 4. echo is faster than print. Set the maxvalue for your for-loops before … Continue reading

Posted in General | Tagged , | 3 Comments

First Ever PHP Developer’s Conference in the Philippines

As quoted from AJ’s blog: PHP User Group Philippines, Inc. (PHPUGPH), a non-profit organization established to provide support for LAMP (Linux Apache MySQL PHP) and open-source enthusiasts in the Philippines, will be holding it’s 1st ever PHP Developer’s Conference on … Continue reading

Posted in General | Tagged , , | Leave a comment

New XAMMP for Windows, Linux and Mac OS X

Last October 8, Apache Friends released new versions of XAMMP for Windows, Linux and Mac OS X. I use XAMMP on Windows, but for Mac OS X, I use MAMP – the Mac OS X release of XAMMP is still … Continue reading

Posted in General | Tagged , , , , | Leave a comment

Indepth look at PHP DateTime and DateTimeZone

Here is an interesting article from Laughingmeme. Here we can see the default constructor sets both the time and a timezone — correctly, for the moment, identifying my timezone as America/New_York. That’s somewhat contentious behaviour, some people will tell you … Continue reading

Posted in General | Tagged | Leave a comment

PHP User Group Philippines Meetup Photos

I could never be a part of anything like this. Events like these only happen in Manila :(. Here in Cebu, people are not so organized. It is always nice to meet new people with the same interests as you … Continue reading

Posted in General | Tagged , | 2 Comments

PHP Statistics for September 2007

I don’t usually post news that are already posted from other sites unless the news is useful to me (I post it here so that I can search for later on – sort of like a bookmark) or it interests … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

In case you didn’t know, Namespaces will be included in PHP 5.3

This is old news. But for those who doesn’t know, namespaces will now be available on the next release of PHP – that is PHP 5.3. Here is a crash course for PHP Namespaces.

Posted in General | Tagged | Leave a comment

HTML Table to Excel File Tutorial

Here is a tutorial on how to export something from your database to an excel file using PHP. It is useful when you want to download a report. Basically, it displays an HTML table but instead of showing it in … Continue reading

Posted in General | Tagged , | Leave a comment