I'm trying to get the following (broken up only for readability and
cademaintainability) to actually run in the background, returning the
browser to the user immediately and not waiting for lynx to exit.  I'm
obviously going it wrong, but how?  Any suggestions?

$cmd1 = "/usr/bin/lynx -auth=$Client_Username:$Client_Password -dump
\"http://someurl.php?User=$Client_365Num&List=$listchoice[$i]&Letter=$letter
choice\"";
$cmd2 = "mail -s \"Some Email subject line..\" $Client_Email";
$cmd3 = $cmd1." | ".$cmd2;
exec("($cmd3) &");

-- 
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