You are Browsing PHP News

php
by E-Computer Concepts 2 months ago

PHP and LDAP

Using LDAP from PHP PHP’s LDAP extension seems to be one that has never received the degree of attention it deserves. Yet it offers a great deal of flexibility, power, and ease of use, three traits developers yearn for when creating...

php
by E-Computer Concepts 2 months ago

Object-Oriented PHP

The Benefits of OOP The birth of object-oriented programming represented a major paradigm shift in development strategy, refocusing attention on an application’s data rather than its logic. To put it another way, OOP shifts the focus...

php
by E-Computer Concepts 2 months ago

PHP Supported Datatypes

A datatype is the generic name assigned to any data sharing a common set of characteristics. Common datatypes include Boolean, integer, float, string, and array. PHP has long offered a rich set of datatypes, and in this section you’ll...

php
by E-Computer Concepts 2 months ago

Outputting Data to the Browser

Of course, even the simplest of Web sites will output data to the browser, and PHP offers several methods for doing so. The print() Statement The print() statement outputs data passed to it to the browser. Its prototype looks like...

php
by E-Computer Concepts 2 months ago

Embedding PHP Code in Web Pages

One of PHP’s advantages is that you can embed PHP code directly alongside HTML. For the code to do anything, the page must be passed to the PHP engine for interpretation. But the Web server doesn’t just pass every page; rather, it...

php
by E-Computer Concepts 2 months ago

History of PHP

The origins of PHP date back to 1995 when an independent software development contractor named Rasmus Lerdorf developed a Perl/CGI script that enabled him to know how many visitors were reading his online resume. His script performed two...