Hi All agian and thanks for your tip.
As I said in my first post I'm new in Php and since we are now mentioning .httpd, I may as well let you know I'm new to this also.
The article you led me to start understanding where I have to edit BUT has also confused me as I might have expected.
Let me clear my requirement again. I need an easy url to give out to people so that they can remember. So instead of http://www.mydomain.com/index.php/sponsor=123456 I need something like http://123456.mydomain.com OR something like www.mydomain.com/123456 which I took from the article you tipped. That should do also.
I understand that I have to edit the .httpd in my root folder and add the following:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
Now I think I have to add the following also:
RewriteRule /([100000-9999999]+) /index.php/products.php?sponsor=$1
Sponsor ID is of a six digit format but may later on be of 7 or 8 digit format, so I have to cater for all.
Will I be correct if I add above.
Further more, I can't restart the apache server on the host. Does this restart automatically every so many hours or so?
Thanks for your time in my lenghty problem.
Stephen