Herman Gomez schreef:
Jochem Maas wrote:
ceo@xxxxxxxxx schreef:
I'm logging things with error_log, and would like to be able to sort
out one script run from another.
So I'm looking for some kind of "script id" or "thread id" or "PHP
script run execution ID" type of function.
getmypid() just returns the same apache child process ID all the
time, so that's not what I want.
....
Following the wrapper idea, you can use the session ID. It's unique per
user, no matter if they share the thread some times.
d'oh ... looking back at the code I was thinking of I actually used the session ID!
Regards,
Herman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php