What is the PHP
ஃ It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995.
1] PHP stands for Hypertext Preprocessor.
2] It is a widely-used open-source server-side scripting language.
3] primarily designed for web development and can be embedded into HTML.
4] PHP scripts are executed on the server, generating dynamic web page content.
5] PHP code can perform tasks such as collecting form data, interacting with databases,
managing sessions, and creating cookies.
8] php is powerful and flexible language supported by a large community of developers worldwide.
Why php use
1] platform independent
2] open source
3] runs multiple operating system
e.g :- window, linux, kill , dos
4] Free to download and edit.
What can php do ?
1] php can generate dynamic page content.
2] php can create open ,read ,write, delete, and close files on server.
3] collect form data.
4] send data receive cookies.
5] add delete , modify, your database.
6] control user access.
7] php can encrypt data
How to run PHP file
1] first xampp server download.
2] than select the xampp folder click on htdocs file.
3] htdocs folder click than create your program folder.
ஃ you prrogram save
4] php program must save .php extension.
5] run to the php program xampp control panel click
downloads XAMPP SERVER VISIT LINK
https://www.apachefriends.org/
ஃ Than click Apache Module click start button
ஃ Than click on Admin Button.
5] select folder of you project name.
6] Than select the you program name.
7] Program execute the XAMPP Server.
8] Run to the any browser.(show to the output).
Note :- php file is placed inside the htdocs folder. you want to run. open any web
browser and enter "localhost/demo.php" and press enter. than program is run
No comments:
Post a Comment