I have recently gone from using appache and PHP5 as a stand alone to using xampp and i have been developing a basic CMS to learn PHP. My CMS login system was working fine on Appache stand alone but when i try to use it on xampp i get this when i try to log in:
Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\TXT CMS\admin\login.php:6) in D:\xampp\htdocs\TXT CMS\admin\login.php on line 29
Line 29 is where it sets the cookie and line 6 is the <?php tag and i have no trouble when i upload it to my web server.
Another strange thing is that when i was trying to fix it i tryed to log in and after several attempts my computer blue screened and said something about cookies before it shut down, This might be unrelated but i just thought i would add it in.
I have searched already for a solution and i have tryed recreating the lang.tmp file and there is no output before the cookie is set.
I hope someone can shed some light on my problem and Thankyou in advance for your time and help.