Mike,
Sorry I've been really busy. Let's see...
How about this...
// relative path to LMP
$path_to_lmp = '../';
include($path_to_lmp.'config.php');
include($path_to_lmp.'admin.php');
mysql_query("update $utable set list = '1', cnf = '1', cseq = '99' where list = '2' and email like '".addslashes($email)."';");
$aff = mysql_affected_rows();
if($aff==0){
// insert the user to list 1
// See: http://listmailpro.com/forum/index.php?topic=172.0 for LMinsert.php script
include($path_to_lmp.'LMinsert.php');
LMinsert('1',$email,'','','','','','','','','','','','','99');
}
Note that you'll need to re-specify your MySQL access info in LMinsert.php, which takes care of the heavy work such as dupe checking and unique id creation.
Regards, DW