Forum Moderators: coopster
Warning: Cannot modify header information - headers already sent by (output started at /home/referral/public_html/paidmail/includes/vars.php:37) in /home/referral/public_html/paidmail/site/member_login.php on line 11
I need to know what this error means and what my best ways to fix it are
Thanks
Remember that header() [php.net] must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with include(), or require(), functions, or another file access function, and have spaces or empty lines that are output before header() is called. The same problem exists when using a single PHP/HTML file.
Also remember that starting a session using cookies means you are again sending header information. Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). This requires that you place calls to this function prior to any output, including <html> and <head> tags as well as any whitespace.