Data backup and delivery using PHP