ON *:SOCKOPEN:web.auth: {
if ($sockerr > 0) { return }
sockwrite -n $sockname POST /auth.php HTTP/1.1
sockwrite -n $sockname Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
sockwrite -n $sockname Accept-Language: en-us
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Accept-Encoding: gzip, deflate
sockwrite -n $sockname Host: $ip
sockwrite -n $sockname Cache-Control: no-store, no-cache
sockwrite -n $sockname Pragma: no-cache
sockwrite -n $sockname Content-Type: text/html
sockwrite -n $sockname Cache-Control: no-cache
sockwrite -n $sockname $crlf
}