Php: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→API) |
||
Line 12: | Line 12: | ||
== API == | == API == | ||
web | web [[API]] |
Revision as of 12:24, 13 January 2024
PHP
- Contoh menampilkan ip address server
<?php $command = 'ip addr show eth0 | grep -oP "inet \K[\d.]*"'; $ipaddr = shell_exec($command); $host = trim($ipaddr); echo $host; ?>
Koneksi
Database
API
web API