did the car move at all? i doubt this would be it, but i had a simiar problem.
when accelerating normally, the car was fine, but when i would have to punch the gas, it would rev and wouldn't go anywhere, as it turns out i had totally demolished one or more of my cats (broke all the goodies inside).
just a thought.
99 SE V6-ATX