View Full Version : CGI Questions.
tendou
April 26th, 2001, 15:57
I need something that will control a layout for a website pulling information from a flat file. News and Links would be nice. I haven't found anything like this.
Tendou
Cheap Bastard
April 26th, 2001, 16:01
are you talking about something like phpNuke?
bigperm
April 26th, 2001, 16:51
You could use PHP or SSI for that... If I am understanding you correctly.
Just have a file with all your header text, name it header.txt and then
<!--#include virtual="header.txt" --> for SSI or <?php include="header.txt" ?> for PHP
If that is what you are talking about.
Also, I think that is the syntax for a php include, somebody correct me if I am wrong. And SSI is a little more available in free webhost than php, so you might want to go with that.
Or maybe that has nothing to do with what you really asked.
gyrbo
April 27th, 2001, 11:06
Originally posted by bigperm
You could use PHP or SSI for that... If I am understanding you correctly.
Just have a file with all your header text, name it header.txt and then
<!--#include virtual="header.txt" --> for SSI or <?php include("header.txt") ?> for PHP
If that is what you are talking about.
Also, I think that is the syntax for a php include, somebody correct me if I am wrong. And SSI is a little more available in free webhost than php, so you might want to go with that.
Or maybe that has nothing to do with what you really asked.
Correct syntax
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.