Warning code appearing on the top of a page

A warning is appearing at the top of the index page of my online store. Every other page is ok.

Code:

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home36a/sub006/sc29007-OKJM/2goenterprises.com/store/index.php:3) in /mounted-storage/home36a/sub006/sc29007-OKJM/2goenterprises.com/store/config/config.inc.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home36a/sub006/sc29007-OKJM/2goenterprises.com/store/index.php:3) in /mounted-storage/home36a/sub006/sc29007-OKJM/2goenterprises.com/store/classes/Cookie.php on line 244

This has just appeared as I changed the code slightly to remove a link to a dangerous website.

That usually means you're using the header() PHP function after you have used print/echo to output something to the page, which goes against it's usage. See the W3Schools or the PHP online manual for more details.

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.