You need a WiFi tether program, which you can find on the Market. However, you'll need to have a root phone in order to use it. My advice would be to install a Modaco ROM as this comes pre-rooted and with a WiFi tether app preinstalled.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?