Sockets (almost did it) but... - 09/09/03 01:37 PM
I am trying to post data from mirc to a website.
what I use is:
now everything works but the problem is that %text is from an editbox with options "multi return autovs vsbar" and when the users write in the box multiple lines (with enter) to the site is send only the first line
Please I am doing the script for 4 days and am almost done,.
what I use is:
Code:
var %data = text= $+ %text sockwrite -n $sockname POST /post.php HTTP/1.0 sockwrite -n $sockname Host: the-host.com sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded sockwrite -n $sockname Content-Length: $len(%data) sockwrite -n $sockname sockwrite $sockname %data
now everything works but the problem is that %text is from an editbox with options "multi return autovs vsbar" and when the users write in the box multiple lines (with enter) to the site is send only the first line
Please I am doing the script for 4 days and am almost done,.