Script URL: http://www.hilaryshepherd.com/links/links.php
Version of script: 1.03
Hosting company: 1and1.com
I wanted to include a php include in the header file. What is the proper way to do this?
Here is what I tried to do:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="images/style.css" type="text/css" />
<title>Real Estate Marketing In Tracy, CA Notary Public</title>
</head>
<?php include("includes/top-header.php"); ?>
How to use a php include in header.txt file
-
- Posts: 28
- Joined: Tue Mar 07, 2006 5:56 am
Don't have the time to test it, but you can try renaming header.txt to header.php and change all instances of header.txt to header.php in LikMn PHP files and see if that helps. If not you will probably have to do it the old-fashioned way (copy/paste HTML into header.txt)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools