selamun aleyküm socketle bir siteden verileri alıp dıalog yapmak istedim beceremedim daha doğrusu doğrulama kodu var <img id="captcha" src="http://www.afreesms.com/image.php?o=9113395320042423000" align="top"> Bu satır sock verilerinde gelmiyor doğrulama kodu satırı busatır Doğrulama kodu olmadan koda devam edemiyorum Sizden rica etsem kodun devamını yazarmısınız veya doğrulama kodunun oldu kaynağı nasıl elde edebilirim mircle
dialog new_table {
title "sms"
size -1 -1 166 82
option dbu
edit "", 2, 70 50 28 12
text " Gönderilecek Numara:", 3, 0 10 54 6
text "Mesajın:", 4, 32 28 22 6
text "Doğrulama kodu", 5, 26 52 38 6
edit "", 1, 55 20 97 28
edit "", 6, 57 7 52 8
button "Gönder", 7, 68 70 30 10
}
alias sms {
;set %gon 90539 $+ $rand(1000000,9000000)
;set %giden $right($1,10)
sockopen sms
www.afreesms.com 80
}
on *:sockopen:sms:{
sockwrite -n $sockname GET /intl/turkey HTTP/1.1
sockwrite -n $sockname Host:
www.afreesms.com
sockwrite -n $sockname Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
sockwrite -n $sockname $crlf
}
on *:sockread:sms:{
var %data
sockread %data
;if (image.php isin $strip(%data)) { }
echo -a : %data
}