This are my first two lines:
<?php
header('Content-Type: application/x-javascript');
And it gives me the headers already sent in line 1.
It is intended to generate a JavaScript file that loads from an HTML page, when checked the JavaScript file from Firebug i got the following file:
1 <br />
2 <b>Warning</b>: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\totoro\Js\libs.php:1) in <b>C:\Program Files\Apache Group\Apache2\htdocs\totoro\Js\libs.php</b> on line <b>1</b><br />
3 var Totoro = {}, $t = Totoro;
As you can see, it spits a character that looks like garbage characters, but nothing is sended, the first line is a header
function call. What might be the problem?