Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/11/2010, 20:19
Avatar de bandolera
bandolera
 
Fecha de Ingreso: abril-2009
Mensajes: 613
Antigüedad: 15 años
Puntos: 7
Pregunta Seguridad en URL PHP

En mi sistema aparece en la URL esta ruta de mi consulta:
Código PHP:
http://localhost/productos.php?id=2 
Si le agrego un apostrofe al final
Código PHP:
http://localhost/productos.php?id=2' 
Me muestra un mensaje de error en la ejecución del select.

Cómo puedo corregir esto?