Valhalla Legends Forums Archive | Visual Basic Programming | Question: Sending information to websites.

AuthorMessageTime
l2k-Shadow
Can someone help me on how can I send information to a website using MSINET (I think, lol). Like how can I send Username and Password to a clan scripts based site and log someone in.

Thanks.
August 31, 2004, 4:44 AM
St0rm.iD
I'll briefly show you how to use the GET method. Plus, I'll give you step by step instructions!

1. Figure out the field names
- View source on the page with the form you want to send. Look for all the <input name="xxx" /> fields, and write down the xxx

2. Figure out the script
- Find <form action="xxx" /> and write down the xxx

3. Send the query from your program
-Tell msinet to fetch http://server.com/script?field1=value1&field2=value2...
August 31, 2004, 2:49 PM
l2k-Shadow
I'll try to make that work. Thanks for advice :)

[edit] 3 hours later: I figured it out, thanks so much :)
August 31, 2004, 7:42 PM
AC_Drkan
So wait lemmie see if i understand this,
what your saying is just copy down the
[code]<input name="something">[/code]
and the form action
[code]<form action="Something2" method="post">[/code]??
is that right?
The you just do this?
[code]http://server.com/script?something=value1[/code]
??
is that correct?

EDIT:
ok understood so its like
[code]
www.someserver.com/(<form action goes here>)/(input name)=(input value)
[/code]
would be correct correct?
September 18, 2004, 1:00 PM
St0rm.iD
No.

http://server.com/Something2?something=value1
September 18, 2004, 7:47 PM
AC_Drkan
So i have a question

im trying ot make an auto logginer(bad english) with the following values:

[code]
<form action="login.php" method="post">
<input type="hidden" name="username">
<input type="hidden" name="pword">

<font color="black">Username:</font>
<input class="login_input" type="text" name="usrname" value="">
<font color="black">Email:</font></td>
<input class="login_input" type="text" name="uemail" value="">
<font color="black">Password:</font>
<input class="login_input" type="password" name="psword">
<input class="login_input" type="submit" value="Login" style="width: 50px;">


<input type="hidden" name="hash" value="dd00b3ec7d7625b028fb9ac600c3e37b">
[/code]
its from www.kings-of-chaos.com minus the - because it was censored for some reason
im stuck
im not sure what to do.

you said something about a "GET" method?
does the method have to be "GET"?
September 19, 2004, 2:43 AM
Adron
[quote author=AC_Drkan link=board=31;threadid=8483;start=0#msg80790 date=1095561807]

you said something about a "GET" method?
does the method have to be "GET"?

[code]
<form action="login.php" method="post">
[/code]
[/quote]

That form uses post, not get. The variables are transferred differently with post. You may have to use post when you send it in if the php script isn't written to accept both options.


[quote author=AC_Drkan link=board=31;threadid=8483;start=0#msg80790 date=1095561807]
its from www.kings-of-chaos.com minus the - because it was censored for some reason
[/quote]

I think it's possible to get some kind of reward for referring people to the site. We block such things here.
September 19, 2004, 9:48 AM
AC_Drkan
[quote author=Adron link=board=31;threadid=8483;start=0#msg80831 date=1095587280]
[quote author=AC_Drkan link=board=31;threadid=8483;start=0#msg80790 date=1095561807]

you said something about a "GET" method?
does the method have to be "GET"?

[code]
<form action="login.php" method="post">
[/code]
[/quote]

That form uses post, not get. The variables are transferred differently with post. You may have to use post when you send it in if the php script isn't written to accept both options.


[quote author=AC_Drkan link=board=31;threadid=8483;start=0#msg80790 date=1095561807]
its from www.kings-of-chaos.com minus the - because it was censored for some reason
[/quote]

I think it's possible to get some kind of reward for referring people to the site. We block such things here.
[/quote]

Sorry, i just get tired of logging into the site so i was gonna write a program to do it for me.
Yes there is a reward, you gte 1 soldier for every 1 person that clicks on your link.
but it has to be a human because if you tried anything else like a program that clicks the link it wouldn't work becuase you need to read a number off a very confusing image.

Topic Droped
September 20, 2004, 10:14 AM

Search