Solved

break a page up into top and bottom, how

Posted on 1998-06-01
5
221 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
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.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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 …

861 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

23 Experts available now in Live!

Get 1:1 Help Now