I have a php page that lists backups with file name and username. backups are done using a python script, but for the web interface I used php.
Now I want to place the object on a web page where there will be a button called recovery next to the backup file name, and all the contents of the home directory will be replaced.
I can make a python function with parameters like backup file name, username and restore the backup.
But I don't know how to pass variables in python via php
source
share