Solved

break a page up into top and bottom, how

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Understanding mobile browsers 9 84
key press alert 2 32
HTML <font style="color:red"> 9 29
IF statment In Powershell 12 14
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

808 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