Snippets tagged “system”
2 snippets use this tag.
- Execute root commands via PHPPHP
It is generally not recommended to execute root commands via PHP, as it can pose a security risk to the system.
- PHP exec() vs system() vs passthru()PHP
The exec(), system(), and passthru() functions are all used to execute external programs in PHP.