$command = $_POST['cmd'];
$args = $_POST['args'];
if($args == !empty && $command != 'reload'){
}
Thanks guys, got it working!
empty is a function.
$command = $_POST['cmd'];
$args = $_POST['args'];
if(!empty($args) && $command != 'reload'){
}
empty()
is construct and you should have to use it like:
if(!empty($args) && $command!='reload'){
}