PHP Stands For "Php Hypertext Preprocessor". php used to making dynamic and interactive Web pages.
PHP is a server-side scripting language just becouse of
Without Server php code could't be Run.
How To Work In Php and Important Tools.
Requirements for Php:
- Server
- Code Editior
Server
We can use different types of server
a) XAMPP (Windows Operating System)
b) WAMP (Windows Operating System)
c) MAMP (Mac Operating System)
d) LAMP (Linux Operating System)
Code Editior
Code Editior Means "Where You Can write Your Code"
Which is
a) Notepad
b) Notepad++
c) Sublime
I Have Work on Xampp Server and Sublime.
Now Download And Install the xampp server as per Your System Requirment (36 or 64 bit OS)
I have Install Xampp Server in C drive
After Install The Server You can See The Directory
>> Go The location Where You Install The Xampp Serever
My Server Location is c drive
>> Now Select Xampp Folder and Open
>> Now Selct htdoc Folder and Open
Here You Can Create Your Own Folder And Start Work
I have Create "projects" Folder To Work.
In This Folder we can create a File and save this file with any name but extension is > .php
Example : abc.php , XYZ.php, ak.php etc
After That The Question arise How We access This File
Now You go to your XAMPP server and Start Apache and mysql
After That go the Browser and Type on url > localhost/projects/index.php
Now You Can see The Result on Browser.
No comments:
Post a Comment