Solved

break a page up into top and bottom, how

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

696 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