Tag Archives: Add

Marquee tag in HTML and its attributes

Dec 10, 2013

The HTML marquee tag provides a way for browsers to creates a scrolling effect (can be tailored to include any HTML content) vertically or horizontally..

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

Swapping Array Keys and Values

Dec 06, 2013

If you want interchange the keys and values of an associative array. It’s very easy, just use PHP’s array_flip() function which perform a very specialized..

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

Automatically set permission to various file types

Nov 29, 2013

Set file permissions with .htaccess, this is a great method for ensuring the CHMOD settings for various file types. Apply the following rules in the..

Read more