Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/06/2008, 08:52
chefnelone
 
Fecha de Ingreso: diciembre-2005
Ubicación: Barcelona
Mensajes: 1.428
Antigüedad: 18 años, 5 meses
Puntos: 15
Guardar dato proveniente de js en base de datos.

Necesito saber si el usuario tiene instalado FlashPlayer y guardar esa informacion en una base de datos sql con php.

NECESITO UNA PISTA PARA HACER BUSQUEDAS

esta es la parte js
<SCRIPT LANGUAGE="JavaScript">
<!-- use this comment tag to hide the enclosed code from old browsers.


if ((navigator.appName == "Microsoft Internet Explorer" &&
navigator.appVersion.indexOf("Mac") == -1 && navigator.appVersion.indexOf("3.1") == -1) ||

(navigator.plugins && navigator.plugins["Shockwave Flash"])
|| navigator.plugins["Shockwave Flash 2.0"]){

var valor="si";
}
else {
var valor="no";
//no flash

}

// Close the comment tag. -->
</SCRIPT>

y este el php:
<?php
//coneccion a database
$query = "INSERT INTO emailUnsubscribedRestSw (email) VALUES ('$email')";
mysql_query($query);
?>



gracias