Dark Angel Posted April 14, 2004 Posted April 14, 2004 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) Quote
MikeJ Posted April 14, 2004 Posted April 14, 2004 Try this instead: <!--#exec cgi="/poll_it/Poll_It_SSI_v2.05.cgi" --> It should work then. Quote
Dark Angel Posted April 14, 2004 Author Posted April 14, 2004 ok, thanks! I'll it later tonight and tell you if it works or not. Quote
Dark Angel Posted April 16, 2004 Author Posted April 16, 2004 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. Quote
LisaJill Posted April 16, 2004 Posted April 16, 2004 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. Quote
Dark Angel Posted April 16, 2004 Author Posted April 16, 2004 Sounds logic to me... Thanks! I better read carefully next time... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.