header()
Brought to you by:
epsilon7
ever since I've upgraded to the latest cvs, I can't use
PHP's header function successfully.. lemme explain;
I include the sniff program before anything else in my
site. Formerly (with 2.1.1 I think) I have been able to
go to a page that has ?header("location:
http://different.site"\)? but if I use the new version of
sniff when I go to that page it says:
Warning: Cannot add header information - headers
already sent by (output started
at /path/to/my/phpSniff.core.php:521)
in /path/to/my/file_with_header_function.php on line #
I haven't looked into this much but I'm sure I can
figure out a suitable workaround for me, otherwise I
see this as a bug.
Logged In: YES
user_id=204169
After looking at my local copy of the file, it appears as if
you might have white space at the end of the file. Make
sure there is no white space before the <?php and after the
?> in each file.
If this isn't the issue, let me know and I'll tinker.
--Roger