Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $output = Array();
- exec("php file.php", $output,$retval);
- //var_dump($retval);
- if($retval===0){
- echo "command success..";
- var_dump($output);
- }else{
- echo "command failed..";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment