Was it just really good bud? I doubt coke would have doen that too you, but a really strong Indica bud might if you smoked a lot and smoked it real fast....

it could have also been shit weed, maybe with male pollen in it, which is said to cause headaches...if I could see the bud It would be easier to say...