Forum Moderators: coopster
The solution has to be browser independent, meaning that although it will be launched by submitting a form, it will continue running on its own in the server when the browser is closed or crashes etc. I assume CGI should be
used for doing that.
Server has PHP 4.3.3 and MySQL 4.0.16 installed.
I assume that I need a protection agains double submitting too - people cklicking the submit button too many times etc.
I don't quite understand why you would want to do this, can you give more details? Surely when your insert statement has executed and returned you can assume that it has either completed or failed, why would you want to check again in 45 seconds?
You can likely achieve it using the PHP sleep() function combined with your database insert/update/select functions.