View Single Post
10-13-2005, 06:55 PM
#2
UrlTrends is offline UrlTrends
UrlTrends's Avatar
Status: Junior Member
Join date: Jan 2005
Location: Sacramento, CA
Expertise:
Software:
 
Posts: 68
iTrader: 0 / 0%
 

UrlTrends is on a distinguished road

  Old

Q1: You will have to parse the output of the command you run to see if it processed correctly. To do this see Q2.

Q2: See below:

PHP Code:
exec("[cmd]",$cmdresult);
foreach (
$cmdresult AS $cmdresultline) {
    
$result .= "$cmdresultline\n";
}

echo 
$result