Jump to content

adaniels

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.javeline.org/

Profile Information

  • Gender
    Not Telling

adaniels's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. If I understand you correctly you want: $file = 'generate_xml.php'; ob_start(); include($file); $xml = ob_get_contents(); ob_end_clean(); You might want to use set_error_handler to make sure the errors are displayed on the screen in not in $xml. You should also not send text/xml header in generate_xml.php by checking if basename($_SERVER['SCRIPT_FILENAME']) == __FILE__; Hope this helps, Arnold
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.