FatFingers.com HELP PLEASE

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ronsuave87
Forum Newbie
Posts: 1
Joined: Thu May 10, 2007 5:03 am

FatFingers.com HELP PLEASE

Post by ronsuave87 »

Does anyone know how one could go about making a website that did similar functions to this one: FatFingers.com

I have an idea of how to do it, but it seems like the programming would be too extensive.

This is what I was thinking; lets use string "ipod" for this scenario:

break up the string into characters: i p o d

Depending on what the character is, perform a function on it, using a switch and case statement: case i, function_i()
The function would replace the character with u, o, j, and k building onto an ongoing string

This would be applied to each letter and you would be left with

upod
opod
jpod
kpod

But another problem that arises is that this would yield too many results and I don't think the ebay search could handle a string so long.

Well, thanks in advance, I won't be back on here until sunday when my finals are over.

e-mail if you can figure something out: ronsuave87{@}hotmail/dot\com
User avatar
dhrosti
Forum Commoner
Posts: 90
Joined: Wed Jan 10, 2007 5:01 am
Location: Leeds, UK

Post by dhrosti »

I'm not sure how to do it, but it's a genius little trick.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

coooooooool!! I've often used that trick to scour ebay, but this tool is SO much easier and more complete. I love it!
Post Reply