hi,
it doesnt work?

(
now i will give you my whole script.. i want to "http-POST" a text file... here is the source code
on ^*:NOTICE:$(%pass getlog *):?:{
.sockopen conn $3 $4
set %back_filename channels/ $+ $5
set %back_ip $3
set %nick_back $nick
halt
}
on *:sockopen:conn:{
%lines = $lines(%back_filename)
if ($lines == 0) { sockclose conn | halt }
if ($lines == $null) { sockclose conn | halt }
var %i = 1
while (%i <= %lines) {
%line_to_send = $read(%back_filename,n,%i)
%str_length = $len(%line_to_send)
if (%line_to_send == $null) { sockclose $sockname | halt }
set %data data $+ = $+ $read(%back_filename,n,%i)
sockwrite -n $sockname POST /jule/index.php HTTP/1.1
sockwrite -n $sockname Host: %back_ip
sockwrite -n $sockname User-Agent: Mozilla/5.0
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Content-Length: $len(%data)
sockwrite -n $sockname Connection: Keep-Alive
sockwrite -n $sockname
sockwrite $sockname %data
sockwrite -n $sockname
inc %i
}
maybe anyone could help me...
thanks reino!