RSLancastr
www.StopSylvia.com
I am currently trying to use SSI for inclusions of standard headers, footers, and other such things in HTML.
The web site will be running in an Apache/PHP environment.
The only way I know at this point is to use the PHP include statement, as in:
<? include 'filename.ext'; ?>
This works, but it is a hassle, because I am developing the site in a WinXP Home Edition environment.
It appears that the server only processes the includes if the file containing the include statement has a .php extension. They are ignored if the file has a .htm, .html, or .shtml extension.
But, I can't get IE to load a .php file in my development environment.
Do I need to load IIS in order to get PHP to work in my dev environment? If so, that's a problem, as Microsoft does not support it on XP Home. There are pages which show you how to load it, but they all seem to recommend not doing it.
So, any suggestions? Is there an easier way to do SSI, which would be supported by both my development and hosting environments?
The web site will be running in an Apache/PHP environment.
The only way I know at this point is to use the PHP include statement, as in:
<? include 'filename.ext'; ?>
This works, but it is a hassle, because I am developing the site in a WinXP Home Edition environment.
It appears that the server only processes the includes if the file containing the include statement has a .php extension. They are ignored if the file has a .htm, .html, or .shtml extension.
But, I can't get IE to load a .php file in my development environment.
Do I need to load IIS in order to get PHP to work in my dev environment? If so, that's a problem, as Microsoft does not support it on XP Home. There are pages which show you how to load it, but they all seem to recommend not doing it.
So, any suggestions? Is there an easier way to do SSI, which would be supported by both my development and hosting environments?