I need help making automatic order exports with cron job.
I am trying to automatically export orders. I have the query string for the final page in the export process (/admin/admin_export.php?s_os=9&table=orders) and I have the POST information of the form so it does my selected information.
I can probably setup a PHP file that POSTs within my script with CURL or something but I think I would need to strip authentication or send it.
I am creating a copy of admin_export.php that I need to remove authentication from. How can I remove authentication?
Darrell_Schauss
5/5/10 4:20 PM
I duplicated the file as another name. I found the 2-3 lines that check for authentication. Used firefox plugin to capture the post data of my options then hard coded them at the top of the file. Then, instead of echo the data I stored in a variable then wrote to file.