Archive for the ‘PHP’

How to solve -> Warning: Cannot modify header information – headers already sent by …

May 07, 2010 By: admin Category: Bugs, PHP

A common problem PHP developers may encounter while redirect a page to another is :

Warning: Cannot modify header information – headers already sent by ….

when using the code below:


header( "Location: $url" );

There are different ways to solve this problem: (more…)

Subscribe To Site:

Object orientation in PHP

December 24, 2009 By: admin Category: OOP, PHP

Programmers with Java or other objected-oriented programming background who want to learn PHP, this article may be helpful for them. PHP is not a typed programming language and hence it is not highly objected-oriented. It does allow coding like plain text as a procedural language or some sort in objected-oriented fashion like Java, C++, C#. We will see which object-oriented features does it support and which not. If you want to continue your objected-oriented programming habit anyway in PHP, go ahead. (more…)

Subscribe To Site: