by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

License

PHP is first an interpreted scripting language (actually precompiled opcodes), free, open source and distributed under a license authorizing the modification and redistribution.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

We studied in previous articles the magiques__clone () methods, __set (), __get () and __call (). PHP adds to recent two additional magic methods __sleep () and __wakeup () that allow overloading the native process of serialization and de-serialization of PHP data. That's what we'll explain in tutorial with some concrete examples and easy to understand.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP can manipulate the images for many years and for applying special effects to it, we were often forced to write many lines of code. Since PHP version 5, a new feature has appeared: "imagefilter" to achieve effects with the same quality as designs software.
This function allows you to customize the look of your site and also to achieve a different picture gallery of others.
So we'll see:
• The basics
• The ImageFilter () function
• How to play with some filters?

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP provides structured data types that are more commonly called "tables". What do they do exactly? How do we handle?



 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

That says "dynamic website" generally called "forms" and therefore treatment of these. PHP was invented especially for this type of task and that is what we will discuss in this new tutorial. We will learn to use the forms via the superglobal arrays $ _GET and $ _POST. We will also determine the difference in the use of each of them.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

Since PHP4, we hear a lot about sessions. Many people using PHP still unaware what they are and what they are for. Others, however, do not know how to use it wisely. This tutorial is an approach to theoretical and practical sessions. They will be presented by means of a simple example throughout this course. This is a space site secured by authentication.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

In previous tutorials on working environments, we have shown that PHP is a dynamic scripting language interpreted and precompiled server side. It is now for us to achieve our first programs and run them on the web server (local or remote).

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP since version 5 implements magic methods you can implement in your classes, which will be automatically called by your script. Magic method __clone () is one of these methods. The following tutorial introduces the operation of the magic method __clone () based on simple and concrete examples.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP has made a big step forward in object-oriented programming with version 5. Since this version, it allows to implement methods in predefined behavior by PHP. These methods are called "magic methods" __call () is one of them.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

In most professional developments, it is necessary to know proper structure of their application in order to facilitate its design and maintenance. The "design patterns", is one of the best solutions to this problem. With the new model object-oriented PHP 5 similar to that of Java, the implementation of design patterns is facilitated. This tutorial focuses on the presentation and implementation of the Singleton pattern, especially used in web applications.

 

Page 1 of 4