|
|
|
สอบถามเรื่อง telnet , exec ของ php คับ ช่วยด้วยคับ |
|
|
|
|
|
|
|
Code (PHP)
$telnetConn->DoCommand('ex', $result);
$telnetConn->DoCommand('ex', $result);
$telnetConn->DoCommand('copy running-config startup-config', $result);
$telnetConn->DoCommand(' ', $result);
$telnetConn->DoCommand(' ', $result);
$telnetConn->Disconnect();
Code (PHP)
exec("ping -n 1 -l 1 -w 1 -i 5 " . $array_wire_device['ip_address'], $output, $status);
มันเอาไว้ทำอะไรคับ
Tag : PHP, MySQL, HTML/CSS, Windows
|
|
|
|
|
|
Date :
2014-12-16 04:00:00 |
By :
peatza130 |
View :
920 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|