by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

As in most programming languages, it is possible to create your own PHP functions that complement the native functions. This allows performing particular operations that are redundant in the application, and solve a problem by breaking it into several small problems and solutions.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

The visibility of the properties and methods of an object is one of the basic features of object-oriented programming. This tutorial aims to introduce different levels of visibility offered by the object model PHP 5. We will review them one by one through practical examples and we will bring some good practices to adopt when used.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

In programming, PHP allows you to define constants, it is often necessary to define data structures whose value must not change during program execution. These data structures are typically what is known constants. The most famous mathematical constants is for instance the PI number whose value is approximately 3.1415926535898. Note that PHP natively integrates the M_PI constant. This can then be used for any calculation of circumference.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

Comments are only intended for the programmer. They will not be displayed or executed. They identify as part of the program without interfering in the program. Comments are among the trivial elements in the success of a program; and this is why it is important to use them with intelligence.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

There are 12 types of operators in PHP. We will review them using summary tables. Let's start by arithmetic operators.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

A password is an extremely sensitive and given coveted by pirates, irrespective of the application that uses it. When the password becomes known to a third person, then the latter can for example take ownership of rights in an application and compromise its normal operation.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

This chapter presents two important principles to assimilate: the condititions and loops. This first concept is especially important since it allows to perform a series of actions depending on the conditions being tested. As for the second, it allows to repeat N times a series of actions, and in very short time (at human scale). The advantage of the arrival of the computer is to make life easier for users performing tasks that they can not fulfill. If you ask a person to count from 0 up to 1000, it will take several minutes while a computer will process this transaction in milliseconds (or even a few nanoseconds as its computing power). Then immediately understand the benefits of computing.



 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP was invented by Rasmus Lerdorf in 1994 for his own use (posting his resume in this case). Formerly abbreviation for Personal Home Page now become Hypertext Preprocessor, PHP is becoming a standard in the world of web programming with its performance, reliability, flexibility and speed.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

The word "code" has two meanings in operation of computers. The first one is Number or Symbol that representing another meaning. An example of this type of code is "301", which is a code specified in the HTTP to signify. The 301 redirect is the most effective way for you to change the content of a page or site to another without losing the PageRank of the page and the domain that migration. Discover all you need to know to migrate page or domain without losing position in Google. The other meaning of "code" in computing is "programming code" a "permanent redirection". PHP is a programming language for web pages. You can use the PHP code to create a redirect. Redirection redirect or forwards visitors to a web address to another Web address, usually because the original page changed its address. The user is automatically forwarded to the new page location, and usually do not even notice that the address on the top of the browser has changed.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

Object: In computer science a primitive data type is a basic type of data provided by programming language. Some examples of primitive data types in PHP include Booleans, which are a logical data type containing true or false; floating-point numbers, also known as floats, which are numeric data type that have fractional values--examples include 36.2 and -25; integers are a numeric data type that hold a whole number without any fractions--examples include -6 and 42; and strings, which contain a sequence of characters such as "ecomputernotes.com." With that in mind, an object is a complex data structure along with attributes and behaviors.



 

Page 3 of 4



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.