Then I would change the form action slightly as well, no?
changing from
PHP Code:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post";">
to call a cookie instead...
PHP Code:
<form action="<?php echo $_COOKIE['affid']; ?>" method="post";">
or do I still use $_server ?