You can use backticks (``) to execute a shell command in PHP
- ·
- Telegram
- ·
- Newsletter
🐘 Can you believe I didn’t know that PHP has a backtick operator?
Anything between `` will be executed like shell_exec and returned 🤯
Docs: https://www.php.net/manual/en/language.operators.execution.php