Jump to content

Recommended Posts

Posted

Hello. I've been using SSI include commands for a long time and never had any problems with them. Now I want to use the CGI script called Poll It, which like the name says, is made to build my own polls.

 

Now I need to use the following command in order to include the poll in my shtml pages: <!--#exec cgi="http://www.adnddownloads.com/poll_it/Poll_It_SSI_v2.05.cgi" -->

 

As you can see on my test page: http://www.adnddownloads.com/design/ , the script won't load.

 

Is there anything special I have to do? (yes, my files have the right CHMOD)

Posted

ok, thanks! I'll it later tonight and tell you if it works or not.

Posted

Thanks a lot Mike! It worked perfectly! It's strange that entering the whole URL makes the command crash. I guess it's codded in a way it always start search the file to be included from the main directory...

 

Anyway, thanks!

 

Las thing, if anyone need a good poll script, Poll-It works perfectly. But I had to edit some parts of the code because it included "endlines" at random places for a strange reason.

Posted

Dark Angel, in the code supplied, the very first / tells it to look from the root directory. From what I understand of shtml (that isn't very much, I'm a php gal =) ) the full URL is not allowed due to security issues.

Posted

Sounds logic to me... Thanks! I better read carefully next time...

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