[lug] quick php question for including cli output
    charles at lunarmedia.net 
    charles at lunarmedia.net
       
    Wed May 30 13:59:32 MDT 2001
    
    
  
i'd like to take the output from a command and echo it to a webpage using
php. i had thought that something like
$message = `du -sH /home`;
would put the info into a variable that i could then call via echo. to say
the least, its just not working out for me. i am sure this is a simple
one, and in fact, i've done it before, but i've lost my reference and i
can't find the info on php.net
thanks -cjm
    
    
More information about the LUG
mailing list