01/12/2010, 18:30
|
| | Fecha de Ingreso: enero-2005
Mensajes: 386
Antigüedad: 20 años 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");
?> |