mqnoy

exse.php

Jan 13th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. <?php
  2.         $output = Array();
  3.         exec("php file.php", $output,$retval);
  4.         //var_dump($retval);
  5.  
  6.         if($retval===0){
  7.         echo "command success..";
  8.         var_dump($output);
  9.         }else{
  10.         echo "command failed..";
  11.         }
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment