This should do the simple form/textbox process Llam4 described. Anything more would have to be set up by someone familiar with your existing script.
The form to get the CCBill ID:
Code:
<form name="form" method="post" action="page.php">
<input name="affiliate_ccbill_id" type="text">
<input name="submit" type="submit" value="Set ID">
</form>
The code to get the variable passed by the form:
Code:
<?php
$affiliate_ccbill_id = (int)$_POST['affiliate_ccbill_id'];
if ($affiliate_ccbill_id==0) {
$affiliate_ccbill_id = "XXXXX";
}
?>