2017-03-06 22:38:25 +01:00
|
|
|
<?php
|
|
|
|
include 'functions.php';
|
2017-03-07 21:12:04 +01:00
|
|
|
//add an XML header to the output
|
2017-03-06 22:38:25 +01:00
|
|
|
header('Content-type: text/xml');
|
2017-03-07 21:12:04 +01:00
|
|
|
//prompt the browser to download the output as a file called offer.xml
|
2017-03-06 22:44:08 +01:00
|
|
|
header('Content-Disposition: attachment; filename="offer.xml"');
|
2017-03-06 22:38:25 +01:00
|
|
|
export_offer();
|
|
|
|
?>
|