php - Treating & as normal character with $_GET -
i have application posts content mysql db via php. php uses $_get pull content url , inserts db.
this works great, have discovered issue. if user enters characters (", &, , others), $_get method not separate content url.
let's user posts content: love blue & green
in situation, & symbol cuts string after word blue.
is there way me edit php file ignore & symbol , treat part of variable supposed $_get? great!
you can use $_server['query_string']
Comments
Post a Comment