Page 170 - CITS - Computer Software Application -TT
P. 170
COMPUTER SOFTWARE APPLICATION - CITS
Open Browser
Now Locate the file
Now remove dashboard after localhost and locate wherever you have saved the file and enter. I saved my file in
C:/xampp/htdocs/test/test.php.
So write like this in the browser localhost/test/test.php then write like this in the browser and you will see the result
something like this.
Output
Hello World !
Now open the browser or click on Admin of PHP and MySQL in XAMPP Control Panel or write localhost in the
browser and enter. After entering you will see the output something like this.
Features and Advantages of PHP
PHP comes with several features and advantages that contribute to its popularity in web development.
1 Easy to Learn and Use:
• PHP has a syntax that is similar to C and other programming languages, making it easy for developers to
learn and use.
2 Open Source:
• PHP is open-source, meaning it is freely available for use, distribution, and modification.
3 Platform Independence:
• PHP is platform-independent, which means it can run on various operating systems like Windows, Linux,
and macOS.
4 Support for Multiple Databases:
• PHP supports a wide range of databases, including MySQL, PostgreSQL, and SQLite, making it flexible for
database-driven web applications.
5 Server-Side Scripting:
• Being a server-side scripting language, PHP performs tasks on the server before sending the results to the
client’s browser. This allows for dynamic content generation.
157
CITS : IT&ITES - Computer Software Application - Lesson 47 - 62