Posts by Renan Fernandes Mazo • 106 points
6 posts
-
2
votes1
answer247
viewsQ: HTACCESS - Directory deletion condition
Good night! I am with the following scenario in an application: I’m redirecting all requests to my index.php and treating URL’s through the application: RewriteCond %{REQUEST_URI} !admin RewriteCond…
-
2
votes1
answer39
viewsA: How to save a list from an Option
One parenthesis is missing: $banco->setComandoSQL("INSERT INTO Usuario_Posto(Posto_idPosto, UsuarioMasterAprovado_IdUsuario) VALUES (:idPosts,LAST_INSERT_ID()"); Correction:…
-
1
votes2
answers642
viewsA: Execute server method when closing the browser
I know a way to do what you want, but consumes makes the application heavier. The concept is basically the following: The logged-in user has a javascript script running, setInterval, answering…
-
2
votes1
answer1070
viewsA: Receive javascript data for query in mysql
I believe a request with a help from jQuery would help a lot. The first step is to assign a click event to the desired element: //Aplica o script apenas quando a página carregar…
-
1
votes2
answers1376
viewsA: Problems with PHP session - Continue a session
Man, I have high hopes of finding your problem: You added the username in the session like this: $_SESSION["user name"] = $_POS["user"]; We’re missing a T; So $_SESSION["user_name"] returns NULL;…
-
1
votes1
answer448
viewsA: open a file with php
I believe it’s something like, Filing cabinet: mydata.json { "dataConsulta": "2015-08-02 00:33:20", "listaUsuarios": [ { "idUsuario": 1, "nome": "Renan", "idade": "23", "listaEspecialidades":…
phpanswered Renan Fernandes Mazo 106