mIRC Home    About    Download    Register    News    Help

Print Thread
#28104 04/06/03 05:23 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
hmm i want to know what i need to send to the server to fill a text in an editbox (there is an editbox in the website)
* i don't know html but i know sockets




#28105 04/06/03 05:28 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774


Code:
//if ( khaled isgod ) echo yes | else echo no
#28106 04/06/03 05:34 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
sorry, i don't understand it
any1 can help me here??

#28107 04/06/03 08:03 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
plz any1 confused

#28108 06/06/03 05:24 AM
Joined: May 2003
Posts: 79
A
Babel fish
Offline
Babel fish
A
Joined: May 2003
Posts: 79
You need to do a POST instead of a GET. In the input fields, for example you have name=blah1 and name=blah2
You do a: POST /file.php?blah1=informationtosend&blah2=samething HTTP/1.1
Well, it depends on the context, sometimes it works like that. For example, with the cookies, it won't work like that, you'll have to add lines after the Host: ...
I didn't try the POST method a lot, only when I needed to, so try it, you'll see by yourself =]

I hope it will work. good luck.

#28109 06/06/03 05:39 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
art, you seemed to have gotten your post and get variables crossed. A post does not send the variable in the line of the post itself. Online gave a nice demo here: https://forums.mirc.com/showflat.php?Cat=...27344#Post27380


-KingTomato
#28110 06/06/03 05:42 AM
Joined: May 2003
Posts: 79
A
Babel fish
Offline
Babel fish
A
Joined: May 2003
Posts: 79
From what I tried, it worked on a website to post it like that, and showing me the information. The only other times I used post was for getting cookies, and it was like your example, counting the bytes before sending it. So yes, I agree with what you said, we need to write the post thing like the examples you gave the link to the other posts.


Link Copied to Clipboard