In tone - one would "attach" a printer to a computer in a number of different ways. Besides superglue and cellotape, one could use serial, usb or network cables. One could use a wireless adapter. One could have the printer on a network or connected to another computer on a network (or via any number of the previous connection methods including crossover cable). Indeed, there are such a large number of possible ways to connect a printer to a computer that there is no point starting to suggest methods unless the user is specific about what they are trying.
When someone has a problem connecting a printer to a computer, they are usually good enough to state which of the many methods they are trying.
Mobile phones are, is anything, even more varied.
So, I am sorry, you are insufficiently specific. I am quite experienced at getting mobile phones to work in a variety of ways with computers. However, I have to have something to go on!
I know several people who attach their phones to their laptops via a velcro strip (when they are using the phones as a modems). This is so they don't knock it when they are typing and dislodge the usb connector.
Another person I know has glued a mobile phone cradle to the side of his desktop. This is nothing to do with interoperating the phone and computer - it is just a handy place to keep it.
So the idea of a physical attachment is not so silly as you seem to think.
Please read the long advise in my sig before replying.
Meanwhile: here are the top 5 google results for "attach mobile phone to computer". Note how many and varied the possibilities... perhaps one of these is what you want?