Good day!
I have a PHP script that reads a very huge XML
file. I used fgets
to read line by line. In some point, we need to stop the said script to check some data integrity. My problem is how to resume that running state (I mean the line which the script stopped). We don't want to start the script all over again for it takes days to be completed.
Is there such way that I can accomplish this? Any suggestion would be greatly appreciated.