Skip to content

Instantly share code, notes, and snippets.

@tamimibrahim17
Created April 1, 2021 14:09
Show Gist options
  • Save tamimibrahim17/ead7229be8ade4e1e1f25e6093755d4a to your computer and use it in GitHub Desktop.
Save tamimibrahim17/ead7229be8ade4e1e1f25e6093755d4a to your computer and use it in GitHub Desktop.
check status file to control progress
<?php
$lock_file = $_GET['lock_file'];
$data = file_get_contents($lock_file);
$data = unserialize($data);
echo json_encode($data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment