Hi,
kinda more a Q&A topic, but here goes...
if I understand your problem correctly, you passed variables aren't appearing in the code. First, if you want that code to work, you need to have Register Global Variables PHP setting on, which is a security risk, I don't recommend it.
In your PHP.INI make sure you have
Code:
register_globals = off
That's done, now the code:
Code:
<a href="http://gals.footmaniac.com/Gal01/index.php?id=<?php echo $_REQUEST['REFID']; ?>">http://gals.footmaniac.com/Gal01/index.php?id=<?php echo $_REQUEST['REFID']; ?></a>
$_REQUEST is needed, as all variables parsed from GET/POST input will be there instead of having them automatically appear.
Next, in the index.php files:
Code:
<a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=925808-0000&PA=<?php echo $_REQUEST['id']; ?>
&HTML=http://www.footmaniac.com/main.html">
Because you linked with an id=... in the GET request, you need to use that in the index.php pages.
Hope that helped.