Has anyone ever created a XML interface to query Who paid, When they paid User payments within a time period This code won't be executed inside of site.inc.php. It will be executed by a remote script. like http://example.com/get_user_payments.php What initial hooks or functions should I use to do this ? I'm looking to develop something like this, but someone has code on this, I would be happy to use it instead. Just saw this in the amember manual db->get_user_payments($member_id, $completed) ; PHP: <? $pl = array(); $dat = date('Y-m-d'); foreach ($db->get_user_payments($member_id, 1) as $p){ if (($p['begin_date']<=$dat) && ($p['expire_date']>=$dat)){ $pl[] = $p; } } ?> Thanks Marcel http://01wholesale.com http://businessletters.com