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 
poll/text - cookie problem  XML
Forum Index » Support Forum
Author Message
Anonymous



I have the following at the top of the voting page:

<?php
// Important! You have to include it before your html code
include_once "/home/httpd/vhosts/xxxxxx.com/httpdocs/pollphp/textfile/poll_cookie.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
(etc, etc)

However after voting I get the following (everything else is fine):

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/xxxxxx.com/httpdocs/poll.php:1) in /home/httpd/vhosts/kimonoboy.com/httpdocs/pollphp/textfile/poll_cookie.php on line 21

What am I doing wrong?
spor
Student

Joined: 18/04/2003 05:02:37
Messages: 50
Offline

make sure there are no spaces before it, also make sure your cookies are enabled.

Go here for guestbook and poll help :: Spisas Guestbook
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum