Hello all,
IS there any way one can pass parameters to the function registered by 'register_shutdown_function'?
See, I was thinking that I need a way to 'lock' a resource for the duration af a script. I'd insert a record into a 'locking' table with a unique userId, then the 'unlock' would be registered, THOUGH it would need the userID....
I could use a global, but that seems messy.
Any thoughts?