Jump to content
MakeWebGames

Recommended Posts

Posted

Going off topic much?

sprintf is useful in that it formats which is handy for those what wish to program that way. By itself it does not secure anything but as your going down a formatting route with sprintf then your putting yourself in a position of A = 1234 and B = LALALALA as the result says so. Therefore secure A this way and secure B that way.

Ok a little long winded but effective. Id much rather see people use sprintf and then secure than use mres on numbers like I have seen! Or put some function in the header

I still prefer to use sprintf on my sql queries and for those that like to state it slows down your code. Get a better server ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...