can you buy the malaria tablets over in thailand ?
'Reason im asking but malaria is i no i only need them for the border crossing but i just get worried im gonna catch something and it will ruin my travels '
A month stay requires no visa run if you fly in. The are no border crossings on the places you mentioned. If you did need a visa run, and you were at a border for say 2 hours, you'd me MAD to take medicine for that.
Unless you plan an extended jungle stay of say 3 months or so, you just don't need them.
Normal DEET precautions apply.
i will only need malaria tablets for border crossing etc !!!! but i will be flying over the borders if i venture out of thailand
And the other countries you visit of course - all Thailands neighbours except Malaysia have malaria.

if for some strange reason you do catch the bug then a visit to a local drug store will see you supplied with the correct medication ( a bomb ) for the "local strain" of Malaria / Dengue.
the locals dont live on Malaria medication for ever in a day, of course.. that would be very bad for health.

As L_T said, go see a medical practitioner (with a specific expertise in tropical medicine). You will get lots of opinions here, but I wouldn't like to be taking the risk without consulting someone who knew what they were on about, in a professional sense.
Just my ha'penny's worth, I used to take malaria meds when I was cycling in the boonies a long time ago (well, I never actually made it into the jungle and saw any cannibals, but I have cycled in some reasonably remote parts of SEA), but stopped about 10 years ago. I got the nightmares when I was taking that large weekly pill (can't remember the name). Now I always have a bag of doxy with me, but never take it (which I know is pointless, but it gives my small brain some level of comfort). Hey ho, I reckon that it is all a lottery. Go see a professional (in tropical medicine). Planning a trip to find Pol Pot's grave, some remote cycling involved, I will have my bag of doxy on a wing and a prayer....
'As L_T said, go see a medical practitioner (with a specific expertise in tropical medicine). You will get lots of opinions here, but I wouldn't like to be taking the risk without consulting someone who knew what they were on about, in a professional sense.'
A doctor will always cover his/her ass and say take the medicine.

Go to a doc, but generally I'd say you wont need them where you are going, and from that list you shouldn't need to cross any borders especially into remote regions.
A doc won't neccesarilly say it to cover themselves, my doc and the nurse at my local practice were both very well travelled and said I would not need them for Thailand unless i was going to go somewhere very remote and jungle. That was coming from a doc who had malaria as well.

Ive been to a doc a few times about this (Travel Doctor here in Australia) and they've never told me yes or no. They've always told me about the risks and the side affects and all the other information you need to know. Ive always made my decision with their advice in mind - but they've never made my mind up for me.