Posts by Doougui • 116 points
6 posts
-
2
votes1
answer204
viewsA: Redirect user to public folder and restrict access to project root files
I was able to find a solution. To solve, two files need to be created, one .htaccess at the root of the project, and a .htaccess inside the briefcase public (or the one you want to get the index).…
-
-2
votes1
answer204
viewsQ: Redirect user to public folder and restrict access to project root files
I am making use of a MVC structure with PHP and, for security purposes, my index.php file that loads the configuration files and gives the bootstrap in the project is inside the folder public/.…
-
0
votes2
answers44
viewsA: Show / Hide in a form when clicking an input radio
else if(radio_value=='2') { $("#fisica").show("slow"); $("#juridica").hide("slow"); } On this line you forgot to change the function name, making #fisica to show() and #juridica to Hide() regardless…
-
7
votes3
answers39435
viewsA: how to create a new branch on Github?
Open your repository on Github logged in to your account and click on the "branch" option as shown in the image below. After that just type the branch name in the field and it will be created…
-
1
votes1
answer89
views -
-1
votes1
answer1218
viewsQ: Show error message when logging in with PHP
I am making a login system and I want the user to try to log in and make the login wrong, appear a <div>saying that the information is wrong, however, if I do this by giving a echo…