Jump to content

Question Concerning Special Chars in PHP/MySQL(i) Queries


Mko

Recommended Posts

Hey all,

I'm currently wondering if there's anything that could cause a security breach while running queries concerning usernames that contain special characters.

The following special characters are in question:

!@#$%^&*()_-

 

If there is, would mysqli_real_escape_string() be the best method to prepare them for being used in queries?

If so, is there any downside? Are there any alternatives, too?

 

 

Thanks for all the help,

`Mark

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.