?PHP????? PHP?? - PowerPoint PPT Presentation

About This Presentation
Title:

?PHP????? PHP??

Description:

php php – PowerPoint PPT presentation

Number of Views:117
Avg rating:3.0/5.0
Slides: 13
Provided by: accu2
Category:
Tags: php | introduction

less

Transcript and Presenter's Notes

Title: ?PHP????? PHP??


1
?PHP?????PHP??
2
???PHP?
  • PHP (?? PHP Hypertext Preprocessor) ,???????????
    Scripting ??
  • ??? HTML ???,???????????????,?????????

3
PHP???
  • 1994?
  • 1995?
  • 1997
  • ??
  • ??? Rasmus Lerdorf ????? Perl Script,????
    Personal Home Page ??? ( ?? PHP )
  • ?? PHP/FI,??? PHP2
  • ??????,?PHP3???,????? Scripting ?????
  • ???? PHP4,??????Zend ????????PHP5 ????...

4
PHP???
  • ?? (??????)????????????????????????!
  • ?????? Unix ???? Windows 95 / 98 / NT
    ??????,???????????!
  • ???PHP??? C?Java?Perl ?? PHP ?????,????????????
    Apache ????,???? CGI ?? Perl ??????????
  • ??PHP??????????,????,???????????,??????,?????????
    ?????!

5
????HTML ???????
  • ??????
  • ????????
  • ????????
  • ?????????????
  • ?????????,???????!

6
????PHP ???????
  • ??????
  • ????????
  • ????????
  • ??PHP??????????
  • ?????????????

7
????
  • ??? .html ???? PHP ??,???????? .php?
  • ?????????? .php ????,????? PHP Engine
    ??,???????? (html?) ??????
  • ??????????? html ?,??????????? (???) ????

8
?????!
  • lthtmlgt
  • ltheadgt
  • lttitlegt?????lt/titlegt
  • lt/headgt
  • ltbodygt
  • ??HTML?????!ltbrgt
  • lt?php
  • echo ("??PHP??????!")
  • ?gt
  • lt/bodygt
  • lt/htmlgt

9
??PHP????????
  • lt?php echo ("??PHP????") ?gt
  • lt? echo ("??PHP????") ?gt
  • ltscript language"php"gtecho ("??PHP????")
    lt/scriptgt
  • lt echo ("??PHP????") gt

10
PHP ???
  • ??????????????
  • ????????,???????????
  • ????????????????
  • ????????????
  • ???????????????
  • EX echo ?? ECHO

11
PHP ?????
  • ?? (integer)num123
  • ??? (double) speed15.8
  • ?? (string)
  • //????????????str1"Good morning!"
  • //?????????????str2'Good night!'
  • ?? (array)
  • ?? (object)

12
????
  • ??sample1.php???PHP???,???? A1, A2, ..., A100?
  • ?PHP???????
  • lt?php
  • for (i1 ilt100 i)
  • echo "A i ltbrgt\n"
  • ?gt
Write a Comment
User Comments (0)
About PowerShow.com