I am going to rebuild a website for someone who does not want me to use PHP, so I can't use PHP includes. Using Dreamweaver templates is also not an option. I'm wondering if there is some way I incorporate "includes" that I am currently unaware of.
The goal is a site that the client can manange in Dreamweaver. He does not want to incorporate PHP and I dislike Dreamweaver templates, so I'm looking for other options.
Any thoughts appreciated.
Server-side includes without PHP. Possibilities?
Moderator: General Moderators
Re: Server-side includes without PHP. Possibilities?
No scripting language at all?
Good luck!!!
I would stay away from any project where PHP (or any other scripting language) is not an option.
Good luck!!!
I would stay away from any project where PHP (or any other scripting language) is not an option.
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Server-side includes without PHP. Possibilities?
There is actually a technology called Server Side Includes. If you have Apache, try this: http://httpd.apache.org/docs/1.3/howto/ssi.html
Also, you can do some basic including using javascript.
But I agree with manohoo. If you only want static HTML with no scripting technologies, then you get static HTML with all of its limitations.
Also, you can do some basic including using javascript.
But I agree with manohoo. If you only want static HTML with no scripting technologies, then you get static HTML with all of its limitations.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: Server-side includes without PHP. Possibilities?
I used SSI for many years way back when my web host didn't support scripting languages. It worked just fine.
<!--#include virtual="/header.html" -->
<!--#include virtual="/header.html" -->
Re: Server-side includes without PHP. Possibilities?
Thanks Abracadaver and Jnettles,
I will explore SSI.
I like the client so I'm willing to indulge his wish to stay low tech. For him, it's a control issue. He doesn't want to lose his own ability to manage and understand his site. I don't mind.
ADDED LATER:
This worked perfectly. I didn't even have to make changes to my local apache server or the public apache server. Love it.
R
I will explore SSI.
I like the client so I'm willing to indulge his wish to stay low tech. For him, it's a control issue. He doesn't want to lose his own ability to manage and understand his site. I don't mind.
ADDED LATER:
This worked perfectly. I didn't even have to make changes to my local apache server or the public apache server. Love it.
R