php - Best Way to get parameter fom external software -
i use php script track , manage payments recepits. in script have fields like:
transaction id (erp reference) date furnisher invoice number payment date amount upload (select dialog upload pdf bank transaction)
now, have erp software. user first add payment on erp , after submit record user transaction id , bank transaction. after user scan documents, fill fields on script , upload pdf file.
i'm send data erp php script, in way user cannot fill forms twice.
my idea create button on erp open browser window , submit data url, like:
myscript.com/receive.php?erp_transaction=1223232&date=2016-01-01&furnisher=microsoft&invoice_number=a1210&payment_date=2016-06-01&amount=100.00
question: best way?
tks all,