Posts by Bruno Marcel • 71 points
3 posts
-
1
votes1
answer60
viewsA: Best way to filter (validate) rescued $_SESSION data
One of the ways to validate is to make use of the function filter_var. Simply assign the session value to a variable and pass it to the function or pass the session you want to validate directly to…
-
0
votes1
answer227
viewsA: Insert the value of a Javascript String into a file
as far as I know it is not possible to write files to the server using javascript only. You’ll need to create a PHP script that will be responsible for saving the file to the server, such as: $file…
-
3
votes1
answer46
viewsA: If loop registration error
Apparently the column value is missing nomeFolder on your internet. It should be like this: $res = $mysqli->query("insert into login(nomeUser, email, senha, nomeFolder) values('". $nomeUser . "',…