Hi, friends,

Using the following code, the two files copyUp.pl and convert.pl
aren't called.  I can run them peachy dandy from the commandline
with the expected results.  I've tried system(), exec(), and back tics.
Thanks,
Lara

---------------8<  8<  -------------------------------------

$command = "/home/copyUp.pl $sellerid $image";
exec($command, $output, $error);
if($error)
{
echo "OS Error1 $error<br>";
}
$filename = basename($image);
print "Filename: $filename";
$cmd="/home/convert.pl $sellerid $filename";
exec($cmd, $output, $error);
if($error)
{
echo "OS Error2 $error<br>";
}
---------------------
Lara J. Fabans
Lodestone Software, Inc
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to