Portal Home > Knowledgebase > Articles Database > Load data from an url
Load data from an url
Posted by cn92, 01-18-2009, 02:06 PM |
Hi to all,
It's my first post here!
I have a customer managment system (made by me with php-mysql).
Some customers have accounts at a sms company (to send sms via pc). With http api I can call an url (ht tp://xxx.gr/uer=xx&pass=xxx?action=....) and see how many sms each one have. I would like to put this number in a table, but I don't know how to do it.
Thanks,
Nik
|
Posted by arbet, 01-18-2009, 02:09 PM |
Use the php curl library, you'll need to have curl installed on your server.
www.php.net/curl
And then save the value you get into your database.
|
Posted by cn92, 01-18-2009, 02:18 PM |
Thanks very much, it works perfect!
|
Posted by arbet, 01-18-2009, 02:39 PM |
Thanks very much, it works perfect!
Glad I've helped
|
Add to Favourites Print this Article
Also Read
Mplayer (Views: 483)