Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I'm not sure if you're asking to use your phone as an internet provider for your mac, or a mac as an internet provider for your phone.

If you're asking to use your phone as an internet provider, the iPhone (and most Androids) have a personal hotspot feature that turns the phone into a wifi hotspot. You can then connect your mac to via wifi.

If you're wanting it the other way around, just connect your phone to the same wifi router you're using for your mac? If you're on a wired connection, as far as I know you're SOL.
 
I'm not sure if you're asking to use your phone as an internet provider for your mac, or a mac as an internet provider for your phone..

Yes, with my Android Desire HD but i do not k now how to have my iphone supply connection to my computer and so also The Mac to supply my phones using 3G or Gprs. I do not have wifi at home.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.