PDA

View Full Version : username search and random creation



NeilWilliams
11-15-2006, 10:52 AM
I wonder if someone could help.

Im looking for some code to use (preferrablly php, although it might have to be done with javascript?? im not overly sure) which will link to my MySql database.

What i am trying to do:

1. Someone enters their name, first and last.
2. They create a username, for use on a site.
3. The username is taken, so the page shows a few options that are available, which basially is a return mix of their first and last name and a random number.

I suppose for an example, its a bit like the username suuggestions found on the ebay page.
https://scgi.ebay.co.uk/ws/eBayISAPI.dll?RegisterEnterInfo&ru=http%3A//www.ebay.co.uk

havlf way down, where you check availability of usernames and if taken a selection are automatically returned to the user.

Anyone have any ideas, or can point me the right dirctio where i can find the code for this sort of thing??

Would be greatly appreciated
regards
Neil

NeilWilliams
11-16-2006, 09:20 AM
Im still looking for code to do this, anyone have any ideas? and/or an example
i dont mind paying for the code

Best regards
Neil

djr33
11-16-2006, 09:26 AM
Don't post in more than one place. That's considered spamming.
http://www.dynamicdrive.com/forums/showthread.php?t=14890