communication
 databases
 directories
 file handling
 html and code
 image editing
 image listing
 sessions and co
 string handling
 information
 forms
 apple stuff
 image handling
 array handling
 lixlpixel
php - snippets
google search terms detected and highlighted.
remove highlighting | keep highlighting
make snippet in "html and code" - download "html head"
 search
php - snippets

Valid CSS!

php webring logo
prev next
random list
join the Ring!

html and code - html head was created/last modified on Mon 06 Oct 2003 7:08 PM

<?
function make_head($description,$keywords,$author,$lang,$title,$css_path,$favicon_path)
{
echo
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
         \"http://www.w3.org/TR/html4/loose.dtd\">
<html>
<head>
<meta name=\"description\" content=\""
.$description."\">
<meta name=\"keywords\" content=\""
.$keywords."\">
<meta name=\"author\" content=\""
.$author."\">
<meta name=\"content-language\" content=\""
.$lang."\">
<title>"
.$title."</title>
<link rel=\"stylesheet\" href=\""
.$css_path."\" media=\"all\">
<link rel=\"shortcut icon\" href=\""
.$favicon_path."\">
<link rel=\"icon\" href=\""
.$favicon_path."\" type=\"image/ico\">
<head>
<body>"
;
}
?>

learn more about some of the PHP functions used in this snippet: dtd, echo, function, key, link, ord

view the GNU general license - view the GNU library license - search on PHPsnippets - see your code like this

 a lixlpixel.com site

go to PHParadise to get free PHP, Javascript and FlashMX code