Hola amigos!
Recently I've been learning a lot of PHP and I've started creating my own templates!
So I've recently also started creating my own kind of PHP scripts.
And I was wondering how to keep myself safe. I mean does this line make sense?
Im asking cuz if I check the MyAAC files they have a lot of like ip checks etc before fetching database data. Should I always have like those kind of checks before fetching something from my DB?
Noob question maybe but better be safe than sorry
Thanks for reading! <3 Happy valentines
Recently I've been learning a lot of PHP and I've started creating my own templates!
So I've recently also started creating my own kind of PHP scripts.
And I was wondering how to keep myself safe. I mean does this line make sense?
PHP:
$news_db = $db->query('SELECT `title`, `body` ,`category`, `date`, `player_id`, `id`, `article_image` FROM `myaac_news` ORDER BY `date` DESC LIMIT 1');
Noob question maybe but better be safe than sorry
Thanks for reading! <3 Happy valentines