Cómo está diseñado el código del sistema de votación
lt; font color=#88ddff size=2gt; p >
lt; pgt; lt; color de fuente=#ff0000 size=2gt; muy bueno: lt; tipo de entrada="ying" value="good"gt; lt; tipo de entrada=nombre de radio="ying" valor="yiban"gt; <
lt; malo: lt;
Muy malo: lt; input type=radio name="ying" value="vbad"gt;/fontgt
lt;pgt;lt;centergt;lt;input escriba = enviar valor = "Ver resultados" gt;
lt; tipo de entrada = restablecer valor = "reseleccionar"
lt; ; /formgt;
lt;
ming=request.form("ying")
gt; p >
si ming="" entonces
gt
lt
elseif ming="bueno" entonces
countfile =Server.mappath("good.txt")
set fileinstance=Server.CreateObject("SCRIPTING. filesystemobject")
set textinstance=fileinstance.openentextfile(countfile, 1, false , false)
ren1=textinstance.readall
ren1=ren1 1
set textinstance=fileinstance.createtextfile(countfile, true, false)
textinstance.writeline(ren1)
gt;
Bueno: lt; =ren1gt
countfile1; =Servidor.mappath("yiban.yiban.mappath")