How i can take sites on the server same "reverse"

hi evrybody

i wanna write program like same reverse lookup and it to can take sites
on th server
like this site :

now what should i do ?

do you have source with that ?

i will hoppe your answer to me

thanks a lot