This topic is locked

Save XML-File automatically after export?

7/21/2007 2:00:58 PM
PHPRunner General questions
P
punch author

Hello,
i want use the xml-export to make a special report. Therefore, it is necessary, to save the xml-file after the export automatically (i.e. in servers tmp-directory).
How can i change the export function to do this?
Punch

J
Jane 7/23/2007

Punch,
you need to edit ExportToXML() function in the generated ..._export.php file.

Open new file and save result of this function to the file. Use standart fopen, fread and fclose PHP functions.