Sedang Disiapkan

Posting problem

I need help fixing some vb6 code. I have attached the code to the project. What i am trying to do is open [url removed, login to view] then fill out the first signup form and submit it. I have successfully opened [url removed, login to view] with winsock. Then when i send the POST data i dont get through to the next page of signup info like im suppose to. Instead the first signup page just reloads. I am looking for someone who can look at my code and tell me what im doing wrong. I have also attached 2 examples of the data being sent. The first example is the data my program sends when trying to signup. The second example is the data thats sent if i go and manually signup through the site using FireFox and i just log the packets. As you can see the post data is basically all the same stuff except for some reason they have the Content Length higher then mine. Not sure why this is but maybe it will help you. Oh also all the data sent by my program is saved in this location DEBUGAccount CreatorDataSent.txt.

This is the data my program sends:

POST /join/[url removed, login to view] HTTP/1.1

Host: [url removed, login to view]

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FDM; .NET CLR [url removed, login to view])

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: [url removed, login to view]

Cookie: PHPSESSID=55d08202319e3cd250faa817eca15dc9; dg_aid=677; dg_pid=2; dg_ts=1215201014

Content-Type: application/x-www-form-urlencoded

Content-Length: 359

reg%5BIam%5D=2®%5BInterested%5D=1®%5BFor1%5D=1®%5BFor2%5D=1®%5BFor4%5D=1®%5BMonth%5D=11®%5BDay%5D=22®%5BYear%5D=85®%5BCountry%5D=US®%5BEmail%5D=sillyton213%40gmail.com®%5BEmail_verify%5D=sillyton213%40gmail.com®%5Bphone_areacode%5D=®%5Bphone_prefix%5D=®%5Bphone_suffix%5D=®%5BStumbleUponUs%5D=1®%5BTerms%5D=ok&step=1&form_type=normal&Image77.x=91&Image77.y=23

This is the Data that is sent if you signup through the site manually:

POST /join/[url removed, login to view] HTTP/1.1

Host: [url removed, login to view]

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:[url removed, login to view]) Gecko/20080623 Firefox/[url removed, login to view]

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: [url removed, login to view]

Cookie: PHPSESSID=19293cad43cfa2f26217b26a4024013c; dg_aid=677; dg_pid=2; dg_ts=1215199373; __utma=94882572.137483359074852670.1215199376.1215199376.1215199376.1; __utmb=[url removed, login to view]; __utmc=94882572; __utmz=94882572.1215199376.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Content-Type: application/x-www-form-urlencoded

Content-Length: 404

reg%5BIam%5D=2®%5BInterested%5D=1®%5BFor1%5D=1®%5BFor2%5D=1®%5BFor4%5D=1®%5BMonth%5D=11®%5BDay%5D=22®%5BYear%5D=85®%5BCountry%5D=US®%5BEmail%5D=sillyton212%40gmail.com®%5BEmail_verify%5D=sillyton212%40gmail.com®%5Bphone_areacode%5D=®%5Bphone_prefix%5D=®%5Bphone_suffix%5D=®%5BStumbleUponUs%5D=1®%5BTerms%5D=ok&step=1&form_type=normal&Image77.x=91&Image77.y=23

Kemahiran: Visual Basic

Lihat lebih lanjut: amateur match join index, problem fixing, png txt, page problem, html application examples, fixing problem, 677, 1 problem, amateurmatch join index, amateurmatch login, amateurmatch free membership codes, amateurmatch codes, amateurmatch login code, amateurmatch cookie length, amateurmatch problem, hidden files amateurmatch, user agent, rv, packets, oh, nt, mozilla, iso, iso 7, gzip

Tentang Majikan:
( 57 ulasan ) Arlington, United States

ID Projek: #282936