the only other thing to do would be to make a seperate script that:
1, you fire off in a seperate process
2, returns the value you want
3, you get the pid of, so it it exceeds your timeout value, you can kill it
_________________________
How to ask questions the smart way <-----------> Before you ask