Re: Problems calling a CGI script, please help:

by "Lyle Giese" <lyle(at)lcrcomputer.com>

 Date:  Tue, 12 Nov 2002 21:00:58 -0600
 To:  "Antonio R." <aroh2002(at)hotmail.com>,
"'Languages'" <hwg-languages(at)hwg.org>
 References:  AntonioR
  todo: View Thread, Original
Where is the source for this script?  I need one, but just hadn't started
looking and once I have a copy of what you are looking at, I am sure I
figure it out.

Lyle

----- Original Message -----
From: "Antonio R." <aroh2002(at)hotmail.com>
To: "'Languages'" <hwg-languages(at)hwg.org>
Sent: Tuesday, November 12, 2002 9:35 PM
Subject: Problems calling a CGI script, please help:


Hi:

I've 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="/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.

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="/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="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

"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