How to run a php script on application close

how to run a php script before application close button is pressed
like running backup script
and then show your application closed successfully.

1 Like