Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(-1);
- exec("d:\appserv\www\gammu\gammu -c d:\gammu\gammurc getussd *888#",$hasil);
- for($i=0;$i<count($hasil);$i++)
- {
- if (substr_count($hasil[$i], 'Service reply') > 0) $index = $i;
- }
- echo $hasil[$index];
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement