sp00nk Posted June 4, 2006 Posted June 4, 2006 I have a website, www.tzitut.com I'm having a problem here, since it's encoded in UTF-8 When making a simple file, and saving it with UTF-8 encoding, cookie-placement generates an error. (or any other header change) for instance: file.php --------------- <?php setcookie("b","a"); ?> ---------------------- found on link: www.tzitut.com/V2/file.php generates the following error: Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/V2/file.php:1) in /home/***/public_html/V2/file.php on line 2 ---------------------- when encoding is changed to ANSI, the error disappers. however, that is not an option, since the website and system is coded in UTF-8. What do I do? -Dan. Edited by TCH-Thomas Quote
TCH-Thomas Posted June 4, 2006 Posted June 4, 2006 Hello and welcome to the forum, Dan. I don´t know the answer to this but hang on, someone will figure it out. I have removed the cpanel username mentioned in the post for protection. Quote
TCH-Don Posted June 4, 2006 Posted June 4, 2006 Welcome to the forum, Dan That error usually happens when you try to use header and there is a space some where in your code before the header tag and that counts as output. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.