Foros del Web » Programando para Internet » PHP »

problema con php5

Estas en el tema de problema con php5 en el foro de PHP en Foros del Web. quiero empezar a estudiar php5, y empecé con el 4 y me iba bien, me salía el insertar, delete, etcc.. Me he pasado al php5 ...
  #1 (permalink)  
Antiguo 18/09/2006, 15:30
 
Fecha de Ingreso: junio-2004
Mensajes: 95
Antigüedad: 19 años, 10 meses
Puntos: 0
problema con php5

quiero empezar a estudiar php5, y empecé con el 4 y me iba bien, me salía el insertar, delete, etcc..
Me he pasado al php5 y he instalado el wamp5, pero a la hora del mysql, no inserta ni borra, lo he puesto con código del php5, pero en los campos me aparece directamente la variable del campo.
¿he instalado mal el wamp? de que puede ser....
Una ayudita para meterme en el mundo del php5

Saludos y gracias por todo
  #2 (permalink)  
Antiguo 18/09/2006, 18:14
Avatar de jam1138
/** @package Moderador */
 
Fecha de Ingreso: julio-2004
Ubicación: sèveR led onieR lE
Mensajes: 9.368
Antigüedad: 19 años, 8 meses
Puntos: 102
Cita:
10. My MySQL scripts don't work anymore with WAMP5 1.4.* / MySQL 4.1.*

Since MySQL 4.1.*, the password encryption method has changed in MySQL, you cannot use the mysql functions to connect to your server (if you have a password). You should now use the mysqli extension (and the mysqli_* functions).
If you really need to use the mysql extension, you have two solutions. First, really simple, is to add

old_passwords

at the end of your mywamp.ini file (located in your windows directory). Restart your server and that's it, you'll be able to connect to your server.

Second solution is to use the old_password() function to change your mysql user's passwords. More info about this in the MySQL documentation :

http://dev.mysql.com/doc/mysql/en/old-client.html
http://www.wampserver.com/en/faq.php#q10
__________________
٩(͡๏̯͡๏)۶
» Cómo hacer preguntas de manera inteligente «

"100 años después, la revolución no es con armas, es intelectual y digital"
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:50.