URL htaccess php Affiliate ID capture and info in website

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
The original project created an htaccess/php script that would capture an affiliates ID number when entered after the domain name.
For instance http://somedomain.com/123123123
The htaccess would capture the id, the PHP would populate the website with links, email & phone number from the affiliate.

The limitation was that the htaccess would only capture the affiliates ID when entered after the domain. Subpages would not capture the affiliates ID.
For instance http://somedomain.com/123123123 would work, but http://somedomain.com/contact.php?123123123 would not capture the ID.

I would like the script improved so that it will capture the associates ID on any of the subpages. There are only about 5 subpages, so if we need to duplicate an htacccess rule for each one that is fine.

Skills required:
Anything Goes, PHP
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire rajeshsonisl
$ 40
in 1 days
Hire webxtor
$ 30
in 1 days
$ 30
in 0 days
Hire easycoder
$ 100
in 1 days
Hire godforall
$ 60
in 1 days
Hire alethes
$ 30
in 0 days