What is PHP?

PHP ( Hypertext Preprocessor ) is a programming language that can be embedded into HTML, which is used by a wide range of people, especially designed for development on virtual systems . The intent to embed into HTML is that it can be used inside with HTML . By default, a page that contains a PHP code must have a .php extension.


File: index.php
        <title><?php echo 'Example Title'; ?></title>
        <h3>Welcome To Example PHP Page</h3>

It is running on the server side, separating PHP from user side languages ​​like Javascript. If you run the above code on your own server, the users who connect to your site will not see the code and will not be able to intervene, only the end result. You can even get your HTTP server to treat all your HTML files as PHP files and even process them. However, users may not realize that you are actually using a server-side application.

One of the coolest things about using PHP is that it is easy to learn for new users and at the same time has advanced features for professional users. Do not be afraid to read PHP's long list of features. In a short time you can start programming with PHP and start writing simple programs in a few hours.



# What can you do with P H P?

You can control, edit and manipulate your web pages with HTML content you have created with PHP from a centralized location. You can develop e-commerce, corporate, and personal websites. You can put forward advanced applications with communication systems such as communication with remote systems, api, web socket. We know that architectures are the architects that must be used inevitably in order for programming systems to be artificial intelligence. Programming can be thought of as a ferrugin engine if web designs are hollow ferrari on their own.

On all major operating systems, PHP can run on a wide variety of platforms, including many Unix variants (HP-UX, Solaris, OpenBSD, etc.), Microsoft Windows, Mac OS X, and RISC OS. PHP supports most of the widely used HTTP servers today. These are examples of Apache, IIS, nginx, and many more.

PHP's capabilities are not limited to producing HTML output only . Among the capabilities of PHP are the ability to produce image output, create PDFs, and even create Flash movies. Likewise, it is possible to create any text based file such as XHTML or XML.

With PHP you can work with many database platforms. MySQL, Postgres, Oracle and more. One of PHP's most powerful and highly featured features is its extensive and sophisticated database support. Creating database linked site pages with PHP using one of the database-specific extensions or using an abstraction layer like PDO is extremely simple.

PHP also has an infrastructure that can communicate with a variety of services via LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (for Windows) and even more protocols. Apart from the ready modules, you can open raw network sockets and work with all the protocols you want via these sockets. With WDDX, PHP can communicate with virtually any application on whatever virtual script is written on it. Another important feature is that Java objects can be created and used transparently as PHP objects.

As you can see, it is not possible to finish by describing the capabilities of PHP.