abdoulax
Messages postés875Date d'inscriptionsamedi 17 mai 2003StatutMembreDernière intervention22 juin 20121 14 oct. 2003 à 20:35
héhé ojd" g commencé ca ms ca me saoul :
lias http { socklisten serv 80 }
on 1:socklisten:serv: { .sockaccept http | http2 }
on 1:sockread:http:{
:suite
sockread -f %text
if ($sockbr == 0) return
window @http
echo @http %text
goto suite
}
alias http2 {
var %h = 1
while ( %h <= $lines(ircfr.htm) ) {
sockwrite -nt http $read(ircfr.htm,%h)
inc %h
}
}
si ca pe t'aider ....
ca a marché vite fé ( ms ca rame et pi ca bug des fois , lol ) , ms fo connaitre le protocole http et vu que je connait quedal en html ... g laissé tombé ( et pi a vrai dir pr le moment ca m'ai poa utile )