I am using a barcode reader connected to a raspberrypi with python script to read barcodes and send them to be processed in php through including the ip of file.php in python.
my python script is on a different physical machine than the PHP script.
I want to start-up the python script from the php code to enable users to scan barcodes automatically.
**I am new to python and have not used it before.
You must run your Python as daemon and contact Python via PHP using a socket or a REST call
Run Python script at start-up from php when python script is stored on a raspberrypi not in the same computer I have my php script on?