In the next posts I cover the use of prepared MySQL statements which offer protection against this, even if that was not why they were originally implemented (it was for speed).
En las siguientes publicaciones cubro el uso de sentencias preparadas de MySQL que ofrecen protección contra esto, aún si esto no fue por que fueron originalmente implementadas (fue por velocidad).
This is a guide and a set of examples about the use of prepared MySQL statements in PHP.
Esta es una guía y un conjunto de ejemplos sobre el uso de sentencias preparadas de MySQL en PHP.
Prepared MySQL statements in PHP (object oriented examples)
Sentencias preparadas de MySQL en PHP (ejemplos orientados a objetos)
Prepared MySQL statements in PHP (object oriented examples)
There is a similar guide to this but using the regular structured functions from the MysqlI library at Prepared MySQL statements in PHP (structured examples).
Hay una guía similar a esta pero utilizando las funciones estructurales regulares de la librería MysqlI en Sentencias preparadas de MySQL en PHP (ejemplos estructurados).
There is a similar guide to this but using the object oriented interface of MysqlI in the examples at Prepared MySQL statements in PHP (object oriented examples).
Hay una guía similar a esta pero utilizando la interfase orientada a objetos de MysqlI en los ejemplos en Sentencias preparadas de MySQL en PHP (ejemplos orientados a objetos). Temas
Once we are in the MySQL shell, we can issue MySQL statements.
The statement is not executed until the semi-colon is found, this allow us type MySQL statements in multiple lines, e.g.: show tables
La petición no es ejecutada hasta que el punto y coma es encontrado, esto nos permite escribir peticiones de MySQL en líneas múltiples, por ejemplo: show tables
Alte rezultate
Find the number for your server by executing the mysql statement below.
Encuentre el número apropiado para su servidor al ejecutar la instrucción MYSQL inferior.
I created a database called test, and then ran the MySQL statement.
Creé una base de datos llamada prueba, y luego ejecuté la declaración SQL.
You cannot execute CREATE database; MySQL statement from the phpMyAdmin tool.
No puedes ejecutar el comando de MySQL; CREATE database desde la herramienta de phpMyAdmin tool.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple