Are you referring to the simlib.php script?
I'm trying to get my integration done, and the same thing wouldn't work.
So I called Authorize.Net and the one Tech said there is a "special version" of the script which includes everything you need. It works fine for me (at least that part of things).
Call 'em!