For some reason my affiliate/merchant/autoresponder script doesn't seem to recognise the confirmation code itself generated and gives me an invalid email/confirm code error.

I would appreciate any help I can get.

Here is the generated code: http://easy-homebiz.net/1mc/confirm/...Pmko2mAg15xDIR

Below is the code for the file entitled ss_confirmed.php

<?

include('../common.php');
###############################################################################
#logged('affiliate');
###############################################################################
#db_connect();
# $post=db_row("SELECT * FROM dc_affiliates ".
# " WHERE member_id=$ss_id".
# " AND email='$email' ".
# " AND ((ss_confirm='$ss_confirm') or (ss_confirm is null)) "
# );

#db_disconnect();

###############################################################################
display();
// (C) 2005 Internet Warriors
?>

There are a number of other php files in the "confirm" folder.
The rest of the files in the "confirm" folder are here: http://www.easy-homebiz.net/confirm/

You can test the autoresponder here: http://www.easy-homebiz.net/

Thanks,
jimo

P.S. The guy from whom I bought the script can't help me. He says the "confirm url" must have been clicked before or there must be a problem with the subscriber file.