About Me

header ads

introduction To php | Web Devlopment .


Language are 2 types
01. Client Side
02. Serverside

Website 2 types
01. Static[Only Show No background work(Only Design)]
02. Dynamic[Not Only Show but background works(With Design)]

programming Languages are:
01. php
02. java
03. js[ Node.js, vue.js, Angular.js, ]
04. C#
05. Object C
06. C++
07. python
08. codelin
09. Go-lang
10. Ruby on Rails
11. R-lang ... etc.

php = Personal Homepage.
after it named = hypertext preprocessor.
First created- 1994- Rusmus Lerdorf.
First Released- 1995 - Rusmus Lerdorf -(Danish - Canadian) programmer.

URL: Uniform Resource Location.

Http vs Https

Softwares :
nodepad ++
#sublime text
bs-code
Atom
Bracket
$php storm

Server host software:
Xampp [apache,mysql]
Wampp


After installing Xampp

in (c drive) find (Xampp>htdocs>)


File name:
index.php [You can use own name but index is a default page to run Directly]

Lets Start work
1. keep file inside htdocs
2. start xampp
3. run apache and mysql
4. edit file by editor(Sublime text etc)
5. write code:
5.1. inside file for php have to introduce "<?php ?>"
5.2. Always type php code inside of that sign:
<?php
         echo 'Hellow World';
      echo used to print in php.
      For String show use single or double qoute
       and most important is ;- semocolon at the end of line.
?>
6. Goto browser
7. write localhost/folder name or file name press enter.









Post a Comment

0 Comments