问个关于post数据的有关问题`公司不让上外网`查不了资料`

问个关于post数据的问题``公司不让上外网``查不了资料``
我想用程序,post数据到指定web上去,那个web是一个php网页来的
表单那部分的代码如下:
<form   name= "form1 "   method= "post "   onSubmit= "return   isform() "   action= " ">
<input   name= "username "   type= "text "   size= "20 "   value= " "   />
<input   name= "password "   type= "password "   size= "20 "   />
</form>

然后我要通过程序,来登陆这个网站``然后再进行别的操作``请教啊``
主要是问题两点
1.post请求包的格式是怎样的?有知道的贴一吓
2.我在post登陆请求成功后,就可以直接发送别的请求?(正常情况下登陆后就可以使用的服务,比如是查看个人信息)


------解决方案--------------------
1:POST的格式就是普通的文本方式,比如username=test
2:我用的是WinInet, 至少它是可以的
------解决方案--------------------
action= "ur asp to get data "
------解决方案--------------------
整个请求头如下:
POST / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.google.com
Content-Length: 32
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: PREF=ID=5c863259c124ceed:NW=1:TM=1170848363:LM=1170848363:S=TBQga-HCZeGypIms

username=abcdefg&password=123456