PHP : First PHP Script

2 minutes read

What is PHP ?

PHP stands for Hypertext Preprocessor and is a server-side language. PHP allows web developers to create dynamic content that interacts with databases. PHP is relatively new (compared to languages such as Perl (CGI) and Java) but is quickly becomming one of the most popular scripting languages on the internet.


Learn PHP Code

PHP is basically used for developing web based software applications.

Writing PHP code on your computer is very easy.

Declaring PHP Code

PHP scripts are always enclosed in between two PHP tags. This tells your server to parse the information between them as PHP. The three different forms are as follows:

You can practice PHP online learning at:

 Online Code Builder


Facebook Twitter LinkedIn Telegram Whatsapp

Related Posts:

Some times we need the visitor’s IP address for validation, security, spam prevention etc. Getting the Visitor’s IP address is very easy in PHP. We can get the Internet Protocol (IP) address of any visitor by using PHP. Get Clients IP address using PHP script ...
Calculate sum of html element’s values with specific class names using Jquery. This code is useful in get sum of the elements values of specific class ,id. Jquery Something like the following should work for you: How to get sum of html element's ...
How to upload a file from one server to another server using PHP cURL POST method. How to send files using PHP and cURL The cURL functions in PHP can be used to make HTTP requests to remote servers. The curl_setopt  method allows us a wide range of options to ...