Forum Moderators: coopster

Message Too Old, No Replies

php poll into html page

         

KurKapan

8:44 pm on May 13, 2007 (gmt 0)

10+ Year Member



Hi guys. I wanted to ask you is it possible to insert PHP poll into html page and if it is tell me how?

henry0

9:07 pm on May 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



KurKapan Welcome to WebmasterWorld!

You simply need to
parse your HTML as PHP
[google.com]

It is a topic well covered here :)

If you decide to modif your httpd.conf
just a word of caution
the same modification might and often does not act as "one size fits all"
and a mistake in your httpd will result in BLANK PAGES

so be sure to back it up
and verify with your ISP which code works best upon your server setup.

maccas

9:09 pm on May 13, 2007 (gmt 0)

10+ Year Member



<!--#include virtual="/poll.php" -->

if that doesn't work you may need to enable SSI through .htaccess, try

AddType text/html .html
AddHandler server-parsed .html

KurKapan

9:52 pm on May 13, 2007 (gmt 0)

10+ Year Member



maccas where do I put this include and how? just like that on the place where I want the poll?