$comando = "ping 192.168.0.1; $saida = shell_exec($comando);
Em 31/10/07, Denis gmail <[EMAIL PROTECTED]> escreveu: > > Gostaria de executar comandos do shell como por exemplo > squid -k reconfigure de dentro de um arquivo.php > > como proceder? > > Obrigado > > > > -------------------------------------------------------------------------------- > > Denis Cesar Granato > > Web Server Administrator > Ensite Brasil Telecomunicações Ltda > ( (18) 3641-1212 > * [EMAIL PROTECTED] > > [EMAIL PROTECTED] > denisgranato > > > > -------------------------------------------------------------------------------- > > > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > > -- ThOLOko ThOmaz BeLgine -FrEEBSD- UniX TeaM (LeT's MaKe InStaLL ClEan) ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

