static function PathExecutable($in_path)
    {
        $perms = fileperms($in_path);

        if (!is_dir($in_path)) {
            return false;
        }

        if (!strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' && is_executable($in_path)) {
            return false;
        }

        if (!is_writeable($in_path)) {
            return false;
        }

        return true;
    }
static function PathExecutable($in_path)
    {
        $perms = fileperms($in_path);

        if (!is_dir($in_path)) {
            return false;
        }

        if (!strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' && is_executable($in_path)) {
            return false;
        }

        if (!is_writeable($in_path)) {
            return false;
        }

        return true;
    }
static function PathExecutable ( $ in_path ) { $ perms = fileperms ( $ in_path ) ; if ( ! is_dir ( $ in_path ) ) { return false ; } if ( ! strtoupper ( substr ( PHP_OS , 0 , 3 ) ) === 'WIN' && is_executable ( $ in_path ) ) { return false ; } if ( ! is_writeable ( $ in_path ) ) { return false ; } return true ; }
Is path executable and writeable?
Is path executable and writeable?