Need help with httpwebrequest
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
4 posts
Page 1 of 1
Hello i have a challenge for you guys i am trying to make my register page using webrequest if anyone can help me get a picturebox to show captcha with a refresh button and msg success or not using "http://curiousminds.net84.net/member.ph ... n=register" would greatly appricate it XD use http headers.. i have some code but can not figure this out!
This is what i am trying to do is a bit of challenge :/

This is what i am trying to do is a bit of challenge :/

<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
You can do a http post using vb to post data to your php script. I think login php script also containes some code to check if submited data (captcha) is correct. Check your web site hosting, and find a file login.php or something similar, then see all the needed info and try with vb php post.
PHP POST
Find CodeNStuff's post, and download the application, you can use it to post to php script.
EDIT:
Maybe i missunderstood you, but i think this is wh at you want. If you are having trouble with captcha refresh and check you must look inside your web hosting - file member.php and see how is captcha arriveing.
PHP POST
Find CodeNStuff's post, and download the application, you can use it to post to php script.
EDIT:
Maybe i missunderstood you, but i think this is wh at you want. If you are having trouble with captcha refresh and check you must look inside your web hosting - file member.php and see how is captcha arriveing.
Code: Select all
postdata.add("username",textbox1.text)
postdata.add("password",textbox2.text)
postdata.add("password2",textbox3.text)
postdata.add("email",textbox4.text)
postdata.add("email2",textbox5.text)
postdata.add("imagestring",textbox5.text)
M1z23R wrote:You can do a http post using vb to post data to your php script. I think login php script also containes some code to check if submited data (captcha) is correct. Check your web site hosting, and find a file login.php or something similar, then see all the needed info and try with vb php post.eh i think you misunderstood i tried this already it does not work i am looking more along the lines like
PHP POST
Find CodeNStuff's post, and download the application, you can use it to post to php script.
EDIT:
Maybe i missunderstood you, but i think this is wh at you want. If you are having trouble with captcha refresh and check you must look inside your web hosting - file member.php and see how is captcha arriveing.
Code: Select allpostdata.add("username",textbox1.text) postdata.add("password",textbox2.text) postdata.add("password2",textbox3.text) postdata.add("email",textbox4.text) postdata.add("email2",textbox5.text) postdata.add("imagestring",textbox5.text)
Code: Select all
then you like take something like:
imports system.net
httpwebrequest.create("http://my site here")
Code: Select all
like with the mybb phpbb login thing i put and some how add these to it.http://curiousminds.net84.net/jscripts/captcha.js?ver=1400
GET /jscripts/captcha.js?ver=1400 HTTP/1.1
Host: curiousminds.net84.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://curiousminds.net84.net/member.php
Cookie: mybb[lastvisit]=1343203390; mybb[lastactive]=1343203400; sid=e3513bf390706c57e85577a47e14c829
HTTP/1.1 200 OK
Date: Wed, 25 Jul 2012 08:03:20 GMT
Server: Apache
Last-Modified: Mon, 16 Jul 2012 04:45:16 GMT
Accept-Ranges: bytes
Content-Length: 1307
Connection: close
Content-Type: application/javascript
webrequest.method "get"
sort of works like that
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
I figured this out it is server sided php and you have to use pdo so i found answer!!
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
4 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023