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

Using E_ALL|E_STRICT a good practice?

I have been using Zend Framework for a few months now, and I really find the E_ALL|E_STRICT set in the bootstrap file really neat. See sample code below: error_reporting(E_ALL|E_STRICT);echo $var; //display an unset variable. A notice will appear.   //using … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Sending POST with Streams – PHP

A very interesting blog post from khankennels.com … sending a POST message and getting its results. We could do it using cURL or sockets – but why work that hard. Being lazy does have its advantages after all. I found … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Zend Framework Tutorial and Notes: Zend_view

The page deals with the following: How to suppress auto-rendering: This is useful when you have an action that handles AJAX Requests. Helper Paths: When you want to specify different helper found in different modules/controllers. Sample Custom View Helper: Where … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Object-oriented programming PHP 5 Tutorial

For those who are not familiar with PHP5 OOP, I found this: HERE There are many benefits of inheritance with PHP, the most common is simplifying and reducing instances of redundant code. Class inheritance may sound complicated, but think of … Continue reading

Posted in Uncategorized | Tagged | 1 Comment

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

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

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 + AJAX Security Issues

I have been using PHP with jQuery so this one caught my attention. It’s easy to get caught up in the dynamic potential of Ajax. But with innumerable possibilities also comes increased risk. If security isn’t a major concern, it … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

PHP now returns correct status code for error pages

Someone just found out that PHP now sends out the proper HTTP headers when an error occurs on a page. Let’s say that you have a parse error on your code, the header sent will be something like 500 – … Continue reading

Posted in Uncategorized | Tagged | Leave a comment