Topic awaiting preservation: how to write to database securely |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 02-05-2002 00:36
right now I am using this to read from my database code: <?php
|
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 02-05-2002 01:21
It's only insecure because someone can set that variable to whatever they want. But it's not likely to cause a security hole if you just use that variable in your SELECT ... WHERE id=$id statement. |