If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Adv. Poll and shtml  XML
Forum Index » Support Forum
Author Message
Anonymous



I have made a shtml file with the next code. The poll works, but not properly. After one vote there comes not a new picture with the results and the text "You have already voted". It looked if you can vote again but when you try the vote is not counted again.
Who can help me to make the code better?

<?php
// Important! You have to include it before your html code
include_once "/home/www/myname/html/poll/textfile/poll_cookie.php";
?>
<html>
<head>
<title></title>
</head>
<body>
<!--#include virtual="poll/textfile/poll_ssi.php?poll_id=newest" -->
</body>
</html>
Anonymous



My further search for the solution tells me that it is difficult too combine shtml (I have also a counter). The best way is by using only a .php file.
A lot people have a link too my shtml file, so I have choosen for a iframe

<iframe src="poll.php" WIDTH=281 HEIGHT=284></iframe>

in my shtml file and the poll saved has poll.php.
Anonymous



works fine for me....

http://www.bangnjane.com/content/main.shtml



was good right off the bat.
Anonymous



Hello.
Iem insert poll over

<!--#include virtual="../poll/poll_ssi.php?poll_1=newest" -->

working fine if my shtml file is in the *poll* directory
if shtml file is defferent directory.
poll not working correct and aem can see * Poll ID does not exist .*

solaris
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum