PDA

View Full Version : More php related question, than VB question....


Gutspiller
22 Mar 2002, 08:12
but, since so many here know php quite well, I figured you could possibly help me with this question too.

I am installing a poll on my front page, but it wants me to put this line on my front page where I want the poll to appear.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



The problem is, is that, that line will work in a file with the extension of .shtml, but it wont work in a php extension file, which is what my front page is.

Can somebody please tell me what I need to change to call the file, but so that it will work in a php file instead of a .shtml

I would greatly appreciate any help on this subject.

Thank you.

Crinos
22 Mar 2002, 10:10
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Gutspiller
22 Mar 2002, 15:25
Originally posted by Crinos


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That doesn't seem to work. It just puts the code of that file into the page (with maybe a little more/less stuff)

How do I check the path of Perl? And does anybody know off hand if Ventures Online use Perl 5?

Logician
25 Mar 2002, 10:39
If you're on Apache, that should work:
virtual ("path/to/Poll_It_SSI.cgi");

Gutspiller
25 Mar 2002, 16:10
Originally posted by Logician
If you're on Apache, that should work:
virtual ("path/to/Poll_It_SSI.cgi");

Many thanks! I got it working. If you want to see it in action you can hitup: http://www.GameForumz.com The poll is up and running. It's pretty nice too, because it has an archive and everything. :devious: