I need help D:
Here is the code.
<?php
/********************************************/
/* This is a simple demonstration on how to */
/* place the poll on your pages. */
/********************************************/
?>
<html>
<head>
<title>Simple PHP Poll Demonstration</title>
<!-- The JavaScript makes the pop-up window. -->
<script type="text/javascript">
window.name = "parent";
function voteForma()
{
window.open("","votewindow","menubar=0,resizable=0,width=512,height=256");
document.vform.submit();
setTimeOut("document.location.reload()", 1000);
}
function voteFormb()
{
window.open("","votewindow","menubar=0,resizable=0,width=512,height=256");
document.vformb.submit();
}
</script>
<!-- The JavaScript makes the pop-up window. -->
</head>
<body>
<?php
$v_path = "/home/tcwildc1/public_html/Heedy/Poll/vote"; //This is the path from here to the poll.
include $v_path . "poll.php"; //Now we include it.
//Yes, you NEED to define $v_path!!
//Also, if you're using XHTML, make sure to include this:
//$xhtml = "1";
//So your coding remains compliant
?>
</body>
</html>
Error:
Warning: include(/home/tcwildc1/public_html/Heedy/Poll/votepoll.php) [function.include]: failed to open stream: No such file or directory in /home/tcwildc1/public_html/Heedy/index.php on line 192
Warning: include() [function.include]: Failed opening '/home/tcwildc1/public_html/Heedy/Poll/votepoll.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tcwildc1/public_html/Heedy/index.php on line 192
For my poll I am trying to get working D: Wat2do?