Jump to content

ashok!!!

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by ashok!!!

  1. this is my php file <?php $msg=$_GET['messagee']; $num=$_GET['senderr']; $output = popen("echo $msg | /usr/bin/gammu --sendsms TEXT $num &", 'r'); echo "'$output'; " . gettype($output) . "\n"; ?> this was my output: 'Resource id #2'; resource
  2. when i tried shell_exec(ls) its working fine... i mean.. i m getting all the files/folders in the directory in which the php file is present. actually... i can send sms from the terminal through my mobile (connected to the computer) which takes about 5 secs. but when i tried running the same in the php file..... i m getting error as "device not found". i also saw some posts telling that the commands which take time to execute are giving errors when ran in a php file.
  3. guys....... need help!! there is command which when executed in terminal gives the output without error in 5 seconds. but when i run the same in a php file using shell_exec($cmd) i m getting error. please help me out here. thanq in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.