PHP system("cd \"); not working

Posted by topdog 542 days ago Questions| system php working All

i used to use system commands through a php file ..cd \ was working then suddenly after a few tries it stopped :| no matter what i do

<?php
    $command = array("cd \","dir"); 
    $result = system($command[0], $return);
?>

Originally asked by: kapitanluffy on Stack Overflow

Discuss Bury


Who Voted for this Question