Tag Archives: PHP

enctype HTML attribute

Dec 11, 2013

The enctype attribute’s main purpose is to indicate how the form data/values should be encoded prior to it being sent to the location defined in..

Read more

Get all images from a HTML document

Dec 11, 2013

Sometimes we have to get the images from an HTML page just like Facebook does when a link is posted. You can easily get images..

Read more

How to achieve and use Polymorphism in

Dec 10, 2013

Polymorphism is a Greek word that means “many forms”. In object-oriented programming, polymorphism is a mechanism by which objects of different types can process data..

Read more

Definition of a class attribute – PHP

Dec 03, 2013

An attribute is know as data members and is used to hold data of a class. The data that it holds are specific to the..

Read more

Secure your PHP script by hiding extensions

Dec 02, 2013

In general, security by obscurity is one of the weakest forms of security. Suppose If I were exploiting a site, I wouldn’t check what scripting..

Read more

PHP predefined Magic Constants & usages

Dec 02, 2013

In PHP, a constant is a name or an identifier for a simple value. A constant name starts with a letter or underscore can be..

Read more