Solved

break a page up into top and bottom, how

Posted on 1998-06-01
5
220 Views
Last Modified: 2010-04-09
i once saw how someone wrote a cgi script note:
#!/bin/sh
echo Content-type: text/html
echo
cat jobstop.html jobsdat.html jobsbot.html

what it did so fine, was stich the pages together.  for what i am ding, this would be great.  i know i can do it in frames, but am shying away from that due to some browsers not supporting frames.  will this cgi idea work, and i couln't get it to work, or is there another way, perhaps easier.  i did fix the attributes to 777

i set up the index page as index.cgi
maybe the bin script does not exist... does it need one. there was nothing like that in my bin directory although it may be in my isp's directory.  thanks in advance
rick@inovate.com

try it at mmhs.com/test/index.cgi
0
Comment
Question by:rickster
  • 3
5 Comments
 

Accepted Solution

by:
bobline earned 50 total points
ID: 1844036
You should have your own cgi-bin directory on your server. Scripts can't be executed just from any place you want in terms of security. If your web space provider does not allow you to execute scripts then you can't implement this.
0
 
LVL 1

Expert Comment

by:Michel021497
ID: 1844037
There are ways you can create a header and a footer for your document. You can do so with a <INCLUDE> tag. How this can be done you must a your provider.
0
 

Expert Comment

by:bobline
ID: 1844038
Another way is to use SSI -- server side includes but this also works *only* if your web space provider supports it.
0
 

Expert Comment

by:bobline
ID: 1844039
I see the link works fine?
0
 

Author Comment

by:rickster
ID: 1844040
yes, the observation that the site works and that i do not need any more help is correct, please remove this question as it may not apply any more, thanks
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now