Jump to content

I am an idiot in need of help


Recommended Posts

Ok, I am a newbie and I have installed a date script but cannot figure out haw to call it on my html page. I would greatly appreciate somebodys help. The script works on http://www.cheapwebsitedesign.net/textclock.pl but I can\'t call it on my html page at http://www.cheapwebsitedesign.net/clock.html nor at http://www.cheapwebsitedesign.net/clock.shtml. Here is what the FAQ page says ( it makes no sense to me):

 

Short Answer:

 

Perl:

 

 

<!--#exec cgi=\"/url/path/to/counter.pl\"-->

<!--#include virtual=\"/url/path/to/counter.pl\"-->

 

 

C++:

 

 

<!--#exec cgi=\"/url/path/to/counter\"-->

<!--#include virtual=\"/url/path/to/counter\"-->

 

 

Long Answer:

 

This program requires the use of Server Side Includes. This means that if your system is enabled to handle Server Side Includes, you will probably have to rename your pages to end in .shtml. You will then have to use a standard Server Side Include call like the one shown above.

 

However, if you have renamed your CGI program counter.cgi so it is compatible with your server, just change counter or counter.pl above to counter.cgi.

 

Can somebody please tell me how to call this script in my html page in easy to follow step by step instructions?

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.