【正文】
new code as of February 5, 2008, due to the GoPHP5 initiative, provided by a consortium of PHP developers promoting the transition from PHP 4 to PHP runs in both 32bit and 64bit environments, but on Windows the only official distribution is 32bit, requiring Windows 32bit patibility mode to be enabled while using IIS in a 64bit Windows environment. There is a thirdparty distribution available for 64bit Windows.PHP is a generalpurpose scripting language that is especially suited for web development. PHP generally runs on a web server, taking PHP code as its input and creating web pages as output. It can also be used for mandline scripting and clientside GUI applications. PHP can be deployed on most web servers, many operating systems and platforms, and can be used with many relational database management systems. It is available free of charge, and the PHP Group provides the plete source code for users to build, customize and extend for their own use.PHP primarily acts as a filter, taking input from a file or stream containing text and/or PHP instructions and outputs another stream of data。 JavaServer Pages, and mod_perl. PHP has also attracted the development of many frameworks that provide building blocks and a design structure to promote rapid application development (RAD). Some of these include CakePHP, Symfony, CodeIgniter, and Zend Framework, offering features similar to other web application frameworks.The LAMP architecture has bee popular in the web industry as a way of deploying web applications. PHP is monly used as the P in this bundle alongside Linux, Apache and MySQL, although the P may also refer to Python or Perl.As of April 2007, over 20 million Internet domains were hosted on servers with PHP installed, and PHP was recorded as the most popular Apache module. Significant websites are written in PHP including the userfacing portion of Facebook, Wikipedia (PHP can be used to create standalone, piled applications and libraries, it can be used for shell scripting, and the PHP binaries can be called from the mand line.As with many scripting languages, PHP scripts are normally kept as humanreadable source code, even on production web servers. In this case, PHP scripts will be piled at runtime by the PHP engine, which increases their execution time. PHP scripts are able to be piled before runtime using PHP pilers as with other programming languages such as C (the language PHP and its extensions are written in).Code optimizers aim to reduce the putational plexity of the piled code by reducing its size and making other changes that can reduce the execution time with the overall goal of improving performance. The nature of the PHP piler is such that there are often opportunities for code optimization, and an example of a code optimizer is the Zend Optimizer PHP extension.Another approach for reducing overhead for high load PHP servers is using PHP accelerators. These can offer significant performance gains by caching the piled form of a PHP script in shared memory to avoid the overhead of parsing and piling the code every time the script runs. The National Vulnerability Database stores all vulnerabilities found in puter software. The overall proportion of PHPrelated vulnerabilities on the database amounted to: 12% in 2003, 20% in 2004, 28% in 2005, 43% in 2006, 36% in 2007, and 35% in 2008. Most of these PHPrelated vulnerabilities can be exploited remotely: they allow hackers to steal or destroy data from data sources linked tothe webserver (such as an SQL database), send spam or contribute to DOS attacks using malware, which itself can be installed on the vulnerable servers.These vulnerabilities are caused mostly by not following best practice programming rules: technical security flaws of the language itself or of its core libraries are not frequent. Recognizing that programmers cannot be trusted, some languages include taint checking to detect automatically the lack of input validation which induces many issues. Such a feature is being developed for PHP. Although it may be included in mainstream PHP in a future release, its inclusion has been rejected several times in the past.Hosting PHP applications on a server requires a careful and constant attention to deal with these security risks. There are advanced protection patches such as Suhosin and HardeningPatch, especially designed for web hosting environments. Installing PHP as a CGI binary rather than as an Apache module is the preferred method for added security.With respect to securing the code itself, PHP code can be obfuscated to make it difficult to read while remaining functional.Syntaxhighlighted PHP code embedded within HTMLPHP only parses code within its delimiters. Anything outside its delimiters is s。s principal focus is serverside scripting, and it is similar to other serverside scripting languages that provide dynamic content from a web server to a client, such as Microsoft39。s name to the recursive initialism PHP: Hypertext Preprocessor. The development team officially released PHP/FI 2 in November 1997 after months of beta testing. Afterwards, public testing of PHP 3 began, and the official launch came in June 1998. Suraski and Gutmans then started a new rewrite of PHP39。還要感謝我的父母,給予我生命并竭盡全力給予了我接受教育的機(jī)會(huì),養(yǎng)育之恩沒齒難忘;他們雖然只是普通的農(nóng)民,但是教會(huì)了我要勤勞做事,誠實(shí)待人,要時(shí)常感激身邊的人和事,對(duì)待生活要積極樂觀,對(duì)待朋友要坦誠相待。參 考 文 獻(xiàn)[1]鄺孔武,[M].北京:清華大學(xué)出版社,[2][M].北京:清華大學(xué)出版社,[3]水清木華研究中心. 2006年中國電子商務(wù)盈利模式研究報(bào)告[EB/OL] [200610] [4][D].大連理工大學(xué). 2003:120125.[5][M] .北京:電子工業(yè)出版社,2009[6] Gilmore .PHP與MySQL程序設(shè)計(jì)(第3版)[M].朱濤江,:人民郵電出版社,2009[7]+Apache+MySQL+PHP[M].北京:電子工業(yè)出版社,2008[8]Rusmus design[M].北京:電子工業(yè)出版社,2009[9]Peter 、實(shí)現(xiàn)與管理[M].陳立軍,:電子工業(yè)出版社, 2004.[10][J].計(jì)算機(jī)與信息技術(shù), 2009[11][M].北京:高等教育出版社,致 謝本課題在選題及研究過程中得到徐花芬老師的悉心指導(dǎo)。本系統(tǒng)經(jīng)過調(diào)試后,運(yùn)行結(jié)果良好,系統(tǒng)功能都較好的實(shí)現(xiàn)。在系統(tǒng)開發(fā)周期中,從熟悉系統(tǒng)設(shè)計(jì)的整體概念到系統(tǒng)的需求分析、詳細(xì)設(shè)計(jì),再到系統(tǒng)編碼以及最后的系統(tǒng)測(cè)試,都是與導(dǎo)師相互協(xié)商,和同學(xué)共同學(xué)習(xí)積累而成的,這中間的每一步都是一個(gè)巨大的挑戰(zhàn),我相信這次畢業(yè)設(shè)計(jì)以及論文是我大學(xué)四年學(xué)習(xí)、接觸到所有知識(shí)的匯總及精華所在,這必定是我寶貴的一生的財(cái)富。