adding a voting script on my pages.. I wonder if i could add any cgi or php script poll to this page.
<?
if (file_exists("$DOCUMENT_ROOT/$QUERY_STRING")) {
?>
<img src="<? echo("$QUERY_STRING"); ?>" border="2"><br>
<?
}
else {
?>
<b>No such image.</b><br>
<?
}
?>
that is the code I am using to call out my image on a fly stuff. and I want to add a voting poll on it.. but I don't know if it might function right? like instead of a poll for every indiviual pic, it would be only a poll for that php page i use to call out my images.
<?
if (file_exists("$DOCUMENT_ROOT/$QUERY_STRING")) {
?>
<img src="<? echo("$QUERY_STRING"); ?>" border="2"><br>
<?
}
else {
?>
<b>No such image.</b><br>
<?
}
?>
that is the code I am using to call out my image on a fly stuff. and I want to add a voting poll on it.. but I don't know if it might function right? like instead of a poll for every indiviual pic, it would be only a poll for that php page i use to call out my images.