Python script to read from XRF (serial) and call php to add a record to database