View Full Version : Someone with PHP knowledge please help...
09-20-2004, 08:10 PM
Hello, I have recently jumped into php and redesigend my entire site with it.
The question I have is fairly simple:
How do I use server side includes with PHP? I am familiar with the .shtml extension for it's use, but I have no clue as to wether or not I can do the same with the php extension.
Someone please help me on this, would be greatly appreciated, and save soooooo much work!
09-22-2004, 01:03 AM
If anyone could give me a hand it would really help!
09-22-2004, 01:28 AM
You can use the following:
where filename.php is some other php file that has commands or whatever you need.
09-22-2004, 01:30 AM
This search (http://www.google.com/search?sourceid=navclient&ie=UTF-8&q=php+includes) returns as its second entry PHP Include Tutorial (http://www.php-include.com/) which should answer your questions. The first entry in the search results is the official PHP manual page (http://us4.php.net/include/) on includes.
Search engines are wonderful things, eh?
09-22-2004, 02:56 PM
Thanks to you both.
Yes search engines are great, but when you dont know what you're looking for (sometimes as simple as it is!).....
Anyways, I appreciate the help and thank you both again!
11-19-2007, 03:09 AM
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.