I make a fetching script to get data from web pages. It saves some data to a mysql database.
When I hit stop or close the browser I see through phpmyadmin that it still adds records to infinity.
I killed the process many times but I cant figure out what is wrong to fix it.
Is it script’s fault or server’s ?
EDIT :
I close the browser i close my pc and the script still runs at the server.
Its not the code or the script.
try to set ignore_user_abort