Holy crap, how much were you smoking per day? That's not good... if you're getting actual withdrawal symptoms you prolly need to lay off until those go away.

I mean, if I smoke for a week straight and I stop for a few days, I might feel a bit restless or get a headache for a few hours at one point, but nothing close to what you describe. If it's interfering with your life like that you gotta do something.