RE: Problems calling a CGI script, please help:

by "jeremy" <jeremy(at)localnetamerica.com>

 Date:  Tue, 12 Nov 2002 22:20:01 -0500
 To:  "'Antonio R.'" <aroh2002(at)hotmail.com>,
"'Languages'" <hwg-languages(at)hwg.org>
 In-Reply-To:  AntonioR
  todo: View Thread, Original
Because you cannot use the .shtml format on your server, you more than
likely have a server that does not support Server Side Includes or SSI.
This is what is required in order to include the execution of the cgi
program you are trying to run.  If/Since your server does not support
SSI, the only other way (besides writing your own script, or using
different languages) is to try using an IFRAME.  This may allow the cgi
script to be executed.  A reference for the IFRAME tag and its
functionality can be found at
http://www.blooberry.com/indexdot/html/tagpages/i/iframe.htm

Regards

Jeremy Brown


-----Original Message-----
From: owner-hwg-languages(at)hwg.org [mailto:owner-hwg-languages(at)hwg.org]
On Behalf Of Antonio R.
Sent: Tuesday, November 12, 2002 10:36 PM
To: 'Languages'
Subject: Problems calling a CGI script, please help:

Hi:

I=92ve downloaded a script from the web and in the instructions of the
script it says:

************************************************************************
*****

To add a banner, simply add the text <!--#exec
cgi=3D"/cgi-bin/ads/ads.cgi" -->
where you want the banner generated, where /cgi-bin/ads/ads.cgi is the
URL of
ads.cgi without the http:// or domain. =20

You will also probably have to change the page's extension to .shtml, so
if
the page was named index.html you would change it to index.shtml.

************************************************************************
*****

Well, the problem is that in my server, I can't use the shtml format for
my pages and I really don't understand this, but the cgi folder is in
the port 8000 (I really don't know what does that means) so, I can't
call the script (or at least I haven't been able to call it) if I just
write:

<!--#exec cgi=3D"/cgi-bin/ads/ads1.cgi" -->

I wrote to my Hosting provider and the told me to use the full address
that is:

http://www.freewebs.com:8000/hombredehoy/cgi-bin/ads1.cgi

but if I write:

<!--#exec
cgi=3D"http://www.freewebs.com:8000/hombredehoy/cgi-bin/ads1.cgi" -->

It doesn't work either.

So, how can I call for the script? Is there another different way to do
it, or what am I doing wrong? Please, help me :)

TIA

Antonio R.
AROH2002(at)Hotmail.com
ICQ: 18319148
=A0
"Dream as if you'll live forever. Live as if you'll die today."
James Dean (1931-1955)

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.