|
|
1
2
使用encodeURIComponent函数转义URL的值:
为了确保您(以及阅读本文的任何人)了解它,我还要指出通过浏览器发送SQL代码的风险。任何使用该系统的人都可以发送 作为查询,包括 删除表格 . |
|
|
2
2
使用 http://pl.php.net/urlencode http://pl.php.net/urldecode (如果需要,PHP应该自动为您执行此操作) |
|
|
3
0
|