Is there any PHP script to send SMS. I wan to send activation code on user's mobile phone.
You will need a SMS gateway. A lot of them will send messages sent to an email on via SMS, so you can just use the mail() function.
mail()
This looks like a good bunch of links.