19.04.2017, 16:00
Quote:
You only have to sanitize user input, i.e. stuff that is passed through $_GET, $_POST or $_REQUEST. Whatever is already stored in the database ought to be already clean and doesn't have to be cleaned again.
So instead of PHP код:
PHP код:
|
Also, I use session variables to be able to use those variables on other pages too, is there any other better way because I heard that sessions can be hijacked, I don't think that anyone will waste his time to hijack a SAMP UCP session but still.