Jump to content

Recommended Posts

Posted

It does work. Your pages will have to have the extension ".shtml" for it to work. You put the exec command wherever on the page you want the random information to show up. That's up to you. =)

 

If you need more help with placement, post a link to your site and tell me where you want it, and I'll try to help.

Posted

OK I got it to work, but does it have to be in the main directory??? How do I code it from a sub directory? for example what if I want it on this page

>http://****/main/index.shtml

Posted

I believe that you can change the exec command by adding a / before the cgi-bin, so that it pulls from the root directory. I am not great with shtml includes, though.

 

Try this:

 

><!--#exec cmd="/cgi-bin/randhtml.cgi"-->

 

Hope that helps. =)

Posted

that didn't work and I'm not using it in PHP.

 

I tried it on my intro page, which is in the root, and it worked. but all of the other pages are in a subdirectory.

Posted
The page definitely ends in .shtml?

yes

 

http://www.gcfpb.com/main/welcome.shtml

 

That page is actually a frame of another page, but as you can see it doesn't work standing alone either.

 

Down at the bottom you will see .. .. that is where the random code is.

 

If you back up to the root you'll see random sayings at the top of the screen.

Posted
I don't see any ...'s... should they appear to the right of the lower picture?

 

This is what I see... Is that what you see? =)

Yes I see them in your pic. Right above "check out our new".

 

The dots are irrelevant. I only mentioned them to let you know where the code is.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...