Quoting Bopolissimus Platypus Jr <[EMAIL PROTECTED]>:
> hello all (for those on the ph-mobileapps list, sorry for the crosspost),
>
> i'm working with kannel and a GSM modem. I'm able to successfully send
> sms out (push, through http://[host]:13013/cgi-bin/sendsms?....) with a
> browser. I can also do it through php (using fopen, so i do something like:
>
> $in=fopen("http://[host]:13013/cgi-bin/sendsms...","r");
try
$statmsg = passthru("wget -q -O - http://[host]:13013/cgi-bin/sendsms",
$stat);
getting the returned string in $statmsg, whatever is the output of the pulled
URL, and $stat the code returned by wget.
--
http://turing.cs.msuiit.edu.ph/~ddd/blog/
When you innovate, you've got to be prepared for everyone telling you you're
nuts! --larry ellison CEO, Oracle Corp.
_________________________________________
Mindanao State University - Iligan Campus
Visit us at http://www.msuiit.edu.ph.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph