romix Posted December 22, 2014 Share Posted December 22, 2014 Hi I need download all factures by ID in php script. But I have problem because dl.php returning me login page to whmcs - not pdf facture. Of course I added access to the api. Best regards Roman 0 Quote Link to comment Share on other sites More sharing options...
Infopro Posted December 22, 2014 Share Posted December 22, 2014 Could you please clarify the question a bit more? Whats a facture? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 22, 2014 Share Posted December 22, 2014 Could you please clarify the question a bit more? Whats a facture? it's French for invoice! it sounds like Roman has written a script that tries to download all pdf invoices by ID... however, there is already a way to export all invoice pdfs by using the Batch PDF Invoice Export Report... http://docs.whmcs.com/Reports#PDF_Batch if the report doesn't do exactly what you want, you can edit the source code of the report. 0 Quote Link to comment Share on other sites More sharing options...
romix Posted December 22, 2014 Author Share Posted December 22, 2014 I need to write a php script that gets selected invoices in PDF and packed them into the archive. I don't need all invoices in one pdf. I wants have selected invoices in pdf but i cannot download them by dl.php in php/wget(linux)/curl. I am tried curl, file_get_contents - in php, wget in linux and nothink. The same result. Sorry for my poor English 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.