On a side note, I work with jp_sama, and the error message was Illegal Seek instead of Illegal Check. I couldn't figure this one out either... Why would the backticks be producing $OS_ERROR while still returning the expected result?
Shouldn't they do one or the other? Backticking is getting on my nerves as well... Maybe find a better way to do with through system()?