English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

4 answers

PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.

The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server's PHP engine before being sent to a client's Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML.

2006-10-08 17:38:55 · answer #1 · answered by H@ri 2 · 0 0

HTML is a markup language(client side) while own domicile page is a hypertext processing language(Server-side). own domicile page documents are only like HTML documents, yet they are able to comprise the two HTML and own domicile page code. The own domicile page code is parsed (or accomplished) by making use of the information superhighway server whilst the internet site is accessed and the ensuing output is written as HTML in the information superhighway internet site. whilst someone accesses a own domicile page internet site, his information superhighway browser purely gets sent the HTML code, using fact the information superhighway server has processed the own domicile page code in the history. maximum own domicile page pages are processed so with out postpone that it does not exceedingly decelerate the loading of the information superhighway internet site. The .own domicile page extension is important, using fact it tells the information superhighway server that the internet site would comprise own domicile page code. hence, it must be run in the process the server's own domicile page engine formerly being sent to a shopper's information superhighway browser. this helps dynamic content textile to be generated each and every time the information superhighway internet site is loaded, based on the variables secure in the own domicile page code. as an occasion, own domicile page pages would load gadgets such using fact the present date and time, documents from style fields submitted by making use of someone, or practise from a database. nevertheless, as quickly as the internet site reaches the person's information superhighway browser, each and every thing is formatted as HTML. in short a million. HTML is a markup language mutually as own domicile page is a scripting language 2. The output of own domicile page is in many cases in HTML code which the browser can then interpret 3. HTML codes are static and that they are continuously a similar each and every time they are opened mutually as own domicile page documents are dynamic and the output would possibly not continuously be a similar 4. HTML is very basic and forgiving of errors mutually as own domicile page isn’t

2016-10-19 01:40:31 · answer #2 · answered by ? 4 · 0 0

to learn more about PHP and HTML i suggest this site: http://www.w3schools.com

2006-10-08 17:40:55 · answer #3 · answered by Anonymous · 0 0

me gustan tus chichis me exitas mamacita
atte Im mexican men

2006-10-08 17:30:15 · answer #4 · answered by hitch 2 · 0 0

fedest.com, questions and answers