gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP interface...for GNOKII not SMSD


From: Paulo Orvalho
Subject: Re: PHP interface...for GNOKII not SMSD
Date: Wed, 22 Oct 2003 11:59:16 +0100

This is how a get so far , it sends the sms but no response in browser if it suceeded or not...
 
If someone can help thanxx..
 
 
<?php
//Gnokki PHP Sender by Paulo Orvalho
//20 minutes
//set_time_limit(20*60);
//Gnokii command line
$gnokii = "/usr/bin/gnokii";
$command ="echo $message | ".$gnokii." --sendsms $phone";
         passthru($command." 2>&1");
 
//Gets the output
//$output = str_replace("\xa","",$output);
//echo($output);
echo"<a href="" color=\"#000000\">BACK</font></a>";
 
//Email for comments or any help ...
// Any help would be very nice... Thankxxx
?>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]