http://www.xorak.com/sms.php Each time I try to send a msg I get an error on the confirm page. The message is sent anyway but how can i make this error dissappear? Because this error f*cks up my layout. This is the error i get: Thx in advance Greetz Smetten
Could you post the code. It looks like you have something in front of your code where you are placing the cookies.
Headers must be sent first, before any output. This warnings indicate that you have output started at mail.php on line 216. Move your cookies handling (session_start) above line 216.
You need to move the session_start() to before any of the output, basically, put it as your first line.
<? session_start (); session_register ('sessioncode'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Xorak.com: Free Worldwide Text Messaging</TITLE> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> ... HTML:
I know, I still need to fix all that stuff on there. Thx anyway for pointing that out (will put that link to my bookmarks ). Greetz Smetten