当前位置: 首页 > 网络学院 > 服务端脚本教程 > PHP > PHP 介绍

PHP
PHP Libxml
PHP Math
PHP Misc
PHP MySQL
PHP SimpleXML
PHP String
PHP XML
PHP Zip
PHP Mail
用PHP5的DirectoryIterators递归扫描目录
PHP 阻止SQL注入式攻击
PHP5面向对象 - 基础 - 类和对象
PHP5面向对象 - 基础 - 类的属性( public )
PHP5面向对象 - 基础 - 类的属性( private )
PHP5面向对象 - 基础 - 方法
PHP5面向对象 - 基础 - 对象的比较
php5面向对象 - 基础 - 构造函数
php5面向对象 - 基础 - 析构函数
用PHP控制用户的浏览器 - ob*函数的使用
PHP PDO 学习笔记

PHP 介绍


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1797 ::
收藏到网摘: n/a

A PHP file may contain text, HTML tags and scripts. Scripts in a PHP file are executed on the server.
PHP文件包括:文本、HTML标签、脚本程序。PHP脚本程序是在服务器端执行的。


What You Should Already Know
你应该已经掌握的相关知识:

Before you continue you should have a basic understanding of the following:
在你继续下面的学习之前,你必须对下面的语言有了基本的了解

  • HTML / XHTML
  • Some scripting knowledge 一些脚本程序

If you want to study these subjects first, find the tutorials on our Home page.
如果你想先学习上面的知识,你可以访问教程的首页。


What is PHP?
什么是PHP

  • PHP stands for PHP: Hypertext Preprocessor
    PHP表示PHP:超文本与处理程序(Hypertext Preprocessor)
  • PHP is a server-side scripting language, like ASP
    PHP是服务器端脚本程序执行语言,类似于ASP
  • PHP scripts are executed on the server
    PHP的脚本程序实在服务器端执行的
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
    PHP支持很多的数据库(如:MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC等等)
  • PHP is an open source software (OSS)
    PHP是一种开放式源代码软件(OSS)
  • PHP is free to download and use
    PHP可以免费下载和使用

What is a PHP File?
什么是PHP文件?

  • PHP files may contain text, HTML tags and scripts
    PHP文件包括文本、HTML标签、脚本程序
  • PHP files are returned to the browser as plain HTML 
    PHP文件是以HTML数据流的形式返回浏览器
  • PHP files have a file extension of ".php", ".php3", or ".phtml"
    PHP文件拥有下列的扩展名:".php", ".php3", or ".phtml"

What is MySQL?
什么是MySQL?

  • MySQL is a small database server
    MySQL是一个小型数据库
  • MySQL is ideal for small and medium applications
    MySQL是为小型和中型应用程序而设计的
  • MySQL supports standard SQL
    MySQL支持标准的SQL
  • MySQL compiles on a number of platforms
    MySQL支持多平台编辑
  • MySQL is free to download and use
    MySQL可以免费下载使用

PHP + MySQL
PHP 和 MySQL

  • PHP combined with MySQL are cross-platform (means that you can develop in Windows and serve on a Unix platform)
    PHP和MySQL是一 个跨平台的组合(这意味着你可以在Windows下开发PHP程序然后在Unix服务器上运行它)

Why PHP?
PHP的优势

  • PHP runs on different platforms (Windows, Linux, Unix, etc.)
    PHP可以在不同的操作平台上使用(如:Windows, Linux, Unix等等)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
    PHP几乎与所有的服务器兼容(如:Apache、IIS等)
  • PHP is FREE to download from the official PHP resource: www.php.net
    PHP可以从PHP官方网站上免费下载:http://www.php.net
  • PHP is easy to learn and runs efficiently on the server side
    PHP学习起来非常简单,并且在服务器端的执行效率很高

Where to Start?
学前准备

  • Install an Apache server on a Windows or Linux machine
    在你的Windows或Linux上安装Apache服务器
  • Install PHP on a Windows or Linux machine
    在你的Windows或Linux上安装PHP
  • Install MySQL on a Windows or Linux machine
    在你的Windows或Linux上安装MySQL

评论 (3) 1 All

登陆 | 还没注册?