Title: RSS2 and PHP problem
Last modified: August 18, 2016

---

# RSS2 and PHP problem

 *  [Geoffrey Sneddon](https://wordpress.org/support/users/link92/)
 * (@link92)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/rss2-and-php-problem/)
 * With
    `<?PHP include('news/wp-rss2.php'); ?>` It produces <pre>Warning: Cannot
   modify header information – headers already sent by (output started at /home/
   geoffers/public_html/f1unleashed/templates/header.php:10) in /home/geoffers/public_html/
   f1unleashed/news/wp-rss2.php on line 4 [http://f1unleashed.geoffers.uni.cc/news/index.php](http://f1unleashed.geoffers.uni.cc/news/index.php)
   F1 Unleashed News en Copyright 2004 Thu, 18 Mar 2004 21:11:24 +0000 [http://wordpress.org/?v=1.0.1](http://wordpress.org/?v=1.0.1)
   [http://f1unleashed.geoffers.uni.cc/news/index.php?p=3](http://f1unleashed.geoffers.uni.cc/news/index.php?p=3)
   [http://f1unleashed.geoffers.uni.cc/news/index.php?p=3#comments](http://f1unleashed.geoffers.uni.cc/news/index.php?p=3#comments)
   Wed, 17 Mar 2004 10:37:00 -0800 geoffers (mailto:geoffers@geoffers.uni.cc) 2004
   [3@http://f1unleashed.geoffers.uni.cc/news/index.php](https://wordpress.org/support/topic/rss2-and-php-problem/3@http://f1unleashed.geoffers.uni.cc/news/index.php?output_format=md)
   1. Michael Schumacher 2. Rubens Barricello 3. Fernando Alonso 4. Ralf Schumacher
   5. Juan Montoya 6. Jenson Button 7. Jarno Trulli 8. David Coulthard</pre> before
   what it is suppost to show and <pre>]]></pre>after, how do I get rid of this.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/rss2-and-php-problem/#post-40759)
 * Don’t include header.php. Since header.php sends out headers, wp-rss2 will gripe
   that headers have already been sent when it tries to send out the Content-type
   header.
 *  Thread Starter [Geoffrey Sneddon](https://wordpress.org/support/users/link92/)
 * (@link92)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/rss2-and-php-problem/#post-40833)
 * ok, but I need what’s in header.php at the top

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘RSS2 and PHP problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Geoffrey Sneddon](https://wordpress.org/support/users/link92/)
 * Last activity: [22 years, 1 month ago](https://wordpress.org/support/topic/rss2-and-php-problem/#post-40833)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
