Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/12/2010, 18:30
Alphabravo
 
Fecha de Ingreso: enero-2005
Mensajes: 386
Antigüedad: 19 años, 3 meses
Puntos: 3
ayuda en system y ubuntu

Hola, tengo este php , estoy trabajando en ubuntu y ya le di permisos al php 777, cuando lo ejecuto en la terminal si lo ejecuta perfectamente pero cuando lo hago desde el explorador me manda este error:

Warning: No configuration file found! Warning: No configuration read, using builtin defaults! Error opening device, you don't have permissions. System Output: Error opening device, you don't have permissions. Exec Output: Warning: No configuration file found!

si pongo en la terminal gammu --identify si me manda la informacion

<?php
$cmd = "gammu --identify";

$output = system($cmd);
printf("System Output: $output\n");

exec($cmd, $results);
printf("Exec Output: {$results[0]}\n");


?>