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

include("includes/head.html");
?>

Again, thanks, and a TU to all helpers

2007-11-17 00:41:17 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

It is a PHP command to include the file "head.html" that is in the include directory, (the include directory is a sub-directory in the current directory).

It is an easy way to make a lot of pages on your web site have the same information at the top of the page.

2007-11-17 00:46:45 · answer #1 · answered by Xelfman 2 · 1 0

This is PHP code to force a page to add another page into the result.

PHP is active server sided program that "Builds" pages when the page is requested. The include simply tells the server to include the "Head.html" page when presenting this page to the user. Its often used for MENUS, Headers, footers etc which can go on all a websites pages without having to be coded on each page.

2007-11-17 08:49:29 · answer #2 · answered by Tracy L 7 · 1 0

It is a code that lets every page of your website have the same header....

xxx

2007-11-17 08:49:31 · answer #3 · answered by Anonymous · 2 0

That's a PHP functions that inserts the specified page contents.

e.g.
Inserts the footer.html page. If the current location is "http://localhost/test_dir/", it would insert "http://localhost/test_dir/footer.html".

2007-11-17 09:23:24 · answer #4 · answered by ? 3 · 1 0

fedest.com, questions and answers