Hi,
For using Infopath form in a web based environment create a web enabled Infopath form then publish it to a sharepoint environment.
Create a web part page in sharepoint containing a XMLFormview web part on it.
Goto Modify Shared web part -> Data Binding -> Set Xsnlocation and Savelocation.
Now user can use the Infopath form as a web based form in the sharepoint environment.
Enjoyyyyy.
Hope i had answered your question.
- Bhavesh