
23/06/2008, 02:43
|
| | Fecha de Ingreso: junio-2008
Mensajes: 4
Antigüedad: 16 años, 9 meses Puntos: 0 | |
Respuesta: como incrementar un contador con cada wisita a mi web mmm sip, si lo pongo asi con el archivo de cuantos.txt y el otro de cuantos.php si funciona, pero como seria para verificar con cada taller??
esto es lo que hice
<script language="javascript">
function comprobar(){
window.location="cuantos.php"
}
</script>
<html>
<head>
<meta http-equiv="refresh" content="120; url=http://localhost/REGISTRO/insertar.php">
</head>
<title>Preregistro</title>
<body bgcolor="black" link="white" vlink="white">
<br>
<h3 align="center"> <font color="#FFFFFF"><b>Dar de alta nuevo registro</b> </font> </h3>
<hr width="400" color="#000066">
<form name="inserT" action="insertar_ejecuta.php" method="get" align="center">
<table border="0" align="center">
<tr>
<td><font color="white">Folio</font></td>
<td align="center" colspan="2"><input name="Folio" type="text" size="30" onKeyUp="inserT.Folio.value=inserT.Folio.value.toU pperCase()"></td>
</tr>
<tr>
<td><font color="#FFFFFF">Taller a tomar</font></td>
<td align="center" width="100"><select name="Taller">
<option value="tallerA">1</option>
<option value="tallerB">2</option>
<option value="tallerC">3</option>
<option value="tallerD">4</option>
</td>
<td><input type="button" name="boton2" value="Verificar" onClick="comprobar()"></td>
</tr>
<tr>
<td align="center" colspan="2"><input name="boton" type="button" value="Enviar Datos" id="boton" onClick="validar()"></td>
<td align="center"><input name="borrar" type="reset" value="Borrar"></td>
</tr>
<tr>
<td colspan="3"><hr color="#000066"> </hr>
</td>
</tr>
<tr>
<td colspan="3" align="left">
<a href="menu.php">Regresar al menu Principal</a>
</td>
</tr>
</table>
</form>
</body>
</html> |