I am trying to include the main index of my EE install into a php file, so that I can integrate it with Gallery 2. I tried to simply include the main EE index with a stripped down template (no <html>,<body>, etc), but it gave me the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/2.0/index.php:15) in /home/mysite/public_html/2.0/system/core/core.functions.php on line 649
Apparently, it’s hardwired to send a header that my page has already sent. Is there any easy way to turn this off? I have searched the docs/knowledge blog/wiki, but have not found anything. The problem may be that I’m not sure what to search for, because I don’t.
If this is not possible, my other thought was to use a simple RSS parser and just pull it to the front page that way. Would this be a better solution? If so, I’d love recommendations on a simple, yet customizable PHP RSS program.
Any help would be greatly appreciated. Thanks!
