Solved

break a page up into top and bottom, how

Posted on 1998-06-01
5
222 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

777 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