Posts by Pedrox • 19 points
2 posts
-
0
votes2
answers165
viewsA: Remove session when logging in
When logging in, delete that user’s login records, or if you prefer to put a column that identifies that situation. Place a validation right after the session is started (session_start) makes a…
-
1
votes4
answers2965
viewsA: convert json to php object
That way it works: https://stackoverflow.com/a/3243949/4566483 In the "arrayToObject" function in the first parameter vc passes the return of json_decode($string, true) and in the second the string…