Include the Script

You can implement the script in different ways: direct linking, i-frame, SSI include or PHP.

Direct Linking

You can set a direct link to the script and use it as an independent page. You can customize the HTML template to fit in your website layout.

I-Frame (HTML)

With the HTML tag <iframe> you can include the script in an existing page. Place the <iframe> tag where you want it to appear within the page: Example:

<iframe name="voting" src="./voting.php" width="400" height="300" frameborder="0"></iframe>

SSI Include

In case your server supports SSI (Server Side Includes) you can include the script with following line:

<!--#include virtual="./voting.php?$QUERY_STRING" -->

Replace "./voting.php" with the correct path to your script. It is important to leave the parameter "?QUERY_STRING".

If that doesn't work please rename your HTML file into .shtml. Please ask also your webspace provider, whether your server supports SSI.

Important: In order to get back after voting to the site where the vote is included, you need to put a hidden form field into the HTML template:

<input type="hidden" name="vote_redirect" value="" />

The line needs to be directly below the form tag:

<form name="vote" action="{script_self}" method="post">

<input type="hidden" name="vote_redirect" value="" />

Replace the "" with the URL to your page.

PHP Include

You can include the script in an existing PHP file by using the include() instruction:


Replace "./voting.php" with the correct path to your script.