vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   More php related question, than VB question.... (https://vborg.vbsupport.ru/showthread.php?t=36405)

Gutspiller 03-22-2002 07:12 AM

More php related question, than VB question....
 
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:

<!--#exec cgi="path/to/Poll_It_SSI.cgi" -->
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 03-22-2002 09:10 AM

PHP Code:

<?php 


include("path/to/Poll_It_SSI.cgi");


?>


Gutspiller 03-22-2002 02:25 PM

Quote:

Originally posted by Crinos
PHP Code:

<?php 


include("path/to/Poll_It_SSI.cgi");


?>


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 03-25-2002 09:39 AM

If you're on Apache, that should work:
virtual ("path/to/Poll_It_SSI.cgi");

Gutspiller 03-25-2002 03:10 PM

Quote:

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:


All times are GMT. The time now is 09:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01044 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete