Implementing an sms http API

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bsam
Forum Newbie
Posts: 3
Joined: Wed Jan 27, 2010 5:54 pm

Implementing an sms http API

Post by bsam »

Hello, lets say i have an API of the form:

http://server-address/sendsms.php?usern ... essage=msg

When the above url is entered in a browser directly it runs.
The values in the query are dynamic-can be passed from a form. I want to be able to pass the values from a form
and make it run behind the scenes. how do i do this?

ive tried file_get_contents() - it doesnt seem to work.
file() worked once and stopped working.
Post Reply