Quantcast
Channel: tip – PHP Reference Book Blog
Viewing all articles
Browse latest Browse all 6

Sprintf() Tip

$
0
0

From the book:

For MySQL security, you can use sprintf() to force user input to have a maximum length and be valid for the structure of your database. Use the precision specifier to automatically parse the string submitted by GET or POST.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles



Latest Images