<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Poll</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php require "poll_cookie.php";?>
<?php
// Important! You have to include it before your html code
include_once "/usr/local/psa/mysite.com/httpdocs/poll/poll_cookie.php";
?><html>
<body>
<?php
include_once "/usr/local/psa/mysite.com/httpdocs/poll/booth.php";
echo $php_poll->poll_process(1);
?>
</body>
</html>
</body>
</html>
I get this error though when I vote and hit submit:
Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/mysite.com/httpdocs/poll/poll2.php: in /usr/local/psa/mysite.com/httpdocs/poll/poll_cookie.php on line 21
Please help...
27/04/2003 19:35:57
Subject:
Anonymous
try it like this...
<?php
// Important! You have to include it before your html code
include_once "/usr/local/psa/mysite.com/httpdocs/poll/poll_cookie.php";
?>