analistadeperon /
Loading repository data…
Loading repository data…
analistadeperon / repository
User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ for (const oabElement of "OAB") { Create table usuarios (Carregar todas as publicações em memória;) bash: syntax error near unexpected token `(' } function Varchar(number) { } Varchar(30), senha Varchar(40), Primary Key (ID)) ENGINE = MyISAM; // noinspection BadExpressionStatementJS <html>Identificar as publicações pertencentes a 4ª Vara da Família e Sucessões; <head> <title> Cadastro ações de Alimentos </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Divorcio </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Investigação Partenidade </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Inventario e Outros </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Cada documento deverá receber um atributo contendo o nome do juiz responsável pelo processo extraído do texto</title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Inventario e Outros </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Como arquivo de saída, deverão ser criados dois conjuntos de arquivos json: </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <title> Cadastro Arquivo contendo as publicações não pertencentes a 4a Vara da Família e Sucessões. </title> </head> <body> <form method="POST" action="cadastro.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> </form> </body> </html> <?php $login = $_POST['login']; $senha = MD5($_POST['senha']); $connect = mysql_connect('nome_do_servidor','nome_de_usuario','senha'); $db = mysql_select_db('nome_do_banco_de_dados'); $query_select = "SELECT login FROM usuarios WHERE login = '$login'"; $select = mysql_query($query_select,$connect); $array = mysql_fetch_array($select); $logarray = $array['login']; if($login == "" || $login == null){ echo"<script language='javascript' type='text/javascript'> alert('O campo login deve ser preenchido');window.location.href=' cadastro.html';</script>"; }else{ if($logarray == $login){ echo"<script language='javascript' type='text/javascript'> alert('Esse login já existe');window.location.href=' cadastro.html';</script>"; die(); }else{ $query = "INSERT INTO usuarios (login,senha) VALUES ('$login','$senha')"; $insert = mysql_query($query,$connect); if($insert){ echo"<script language='php 7' type='text/javascript'> alert('Usuário cadastrado com sucesso!');window.location. href='login.html'</script>"; }else{ echo"<script language='javascript' type='text/javascript'> alert('Não foi possível canasta esse usuário');window.location .href='cadastro.html'</script>"; } } } ?> <html> <head> <title> Login de Usuário </title> </head> <body> <form method="POST" action="login.php"> <label>Login:</label><input type="text" name="login" id="login"><br> <label>Senha:</label><input type="password" name="senha" id="senha"><br> <input type="submit" value="entrar" id="entrar" name="entrar"><br> <a href="cadastro.html">Cadastre-se</a> </form> </body> login </html> colocar a senha do login <?php $login = $_POST['login']; $entrar = $_POST['entrar']; $senha = md5($_POST['senha']); $connect = mysql_connect('nome_do_servidor','nome_de_usuario','senha'); $db = mysql_select_db('nome_do_banco_de_dados'); if (isset($entrar)) { $verifica = mysql_query("SELECT * FROM usuarios WHERE login = '$login' AND senha = '$senha'") or die("erro ao selecionar"); if (mysql_num_rows($verifica)<=0){ echo"<script language='php 7' type='text/java'> alert('Login e/ou senha incorretos');window.location .href='login.html';</script>"; die(); }else{ setcookie("login",$login); header("Location:index.php"); } } ?> <?php $login_cookie = $_COOKIE['login']; if(isset($login_cookie)){ echo"Bem-Vindo, $login_cookie <br>"; echo"Essas informações <font color='red'>PODEM</font> ser acessadas por você"; }else{ echo"Bem-Vindo, convidado <br>"; echo"Essas informações <font color='red'>NÃO PODEM</font> ser acessadas por você"; echo"<br><a href='login.html'>Faça Login</a> Para ler o conteúdo"; } ?> User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ let ID; User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ ID Int UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT, ID: ‘Int’: no such user ID: ‘UNSIGNED’: no such user ID: ‘ZEROFILL’: no such user ID: ‘NOT’: no such user ID: ‘NULL’: no such user ID: ‘AUTO_INCREMENT,’: no such user User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ login com senha OAB bash: login: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ for (const oabElement of "OAB") { bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ function Varchar(number) { bash: syntax error near unexpected token `number' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ Varchar(30), bash: syntax error near unexpected token `30' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ senha Varchar(40), bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ Primary Key (ID)) ENGINE = MyISAM; bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ // noinspection BadExpressionStatementJS bash: //: Is a directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <html>Identificar as publicações pertencentes a 4ª Vara da Família e Sucessões; bash: html: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro ações de Alimentos </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Divorcio </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Investigação Partenidade </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Inventario e Outros </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Cada documento deverá receber um atributo contendo o nome do juiz responsável pelo processo extraído do texto</title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Inventario e Outros </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Como arquivo de saída, deverão ser criados dois conjuntos de arquivos json: </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Cadastro Arquivo contendo as publicações não pertencentes a 4a Vara da Família e Sucessões. </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="cadastro.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="Cadastrar" id="cadastrar" name="cadastrar"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <?php bash: ?php: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $login = $_POST['login']; bash: =: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $senha = MD5($_POST['senha']); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $connect = mysql_connect('nome_do_servidor','nome_de_usuario','senha'); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $db = mysql_select_db('nome_do_banco_de_dados'); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $query_select = "SELECT login FROM usuarios WHERE login = '$login'"; bash: =: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $select = mysql_query($query_select,$connect); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $array = mysql_fetch_array($select); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $logarray = $array['login']; bash: =: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ if($login == "" || $login == null){ bash: syntax error near unexpected token `{' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ echo"<script language='javascript' type='text/javascript'> > alert('O campo login deve ser preenchido');window.location.href=' > cadastro.html';</script>"; bash: echo<script language='javascript' type='text/javascript'> alert('O campo login deve ser preenchido');window.location.href=' cadastro.html';</script>: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ }else{ bash: }else{: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ if($logarray == $login){ bash: syntax error near unexpected token `{' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ echo"<script language='javascript' type='text/javascript'> > alert('Esse login já existe');window.location.href=' > cadastro.html';</script>"; bash: echo<script language='javascript' type='text/javascript'> alert('Esse login já existe');window.location.href=' cadastro.html';</script>: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ die(); bash: syntax error near unexpected token `;' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ }else{ bash: }else{: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $query = "INSERT INTO usuarios (login,senha) VALUES ('$login','$senha')"; bash: =: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $insert = mysql_query($query,$connect); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ if($insert){ bash: syntax error near unexpected token `{' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ echo"<script language='php 7' type='text/javascript'> > alert('Usuário cadastrado com sucesso!');window.location. > href='login.html'</script>"; bash: echo<script language='php 7' type='text/javascript'> alert('Usuário cadastrado com sucesso!');window.location. href='login.html'</script>: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ }else{ bash: }else{: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ echo"<script language='javascript' type='text/javascript'> > alert('Não foi possível canasta esse usuário');window.location > .href='cadastro.html'</script>"; bash: echo<script language='javascript' type='text/javascript'> alert('Não foi possível canasta esse usuário');window.location .href='cadastro.html'</script>: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ ?> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <title> Login de Usuário </title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <form method="POST" action="login.php"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Login:</label><input type="text" name="login" id="login"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <label>Senha:</label><input type="password" name="senha" id="senha"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <input type="submit" value="entrar" id="entrar" name="entrar"><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <a href="cadastro.html">Cadastre-se</a> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </body> login bash: /body: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ </html> colocar a senha do login bash: /html: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ <?php bash: ?php: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $login = $_POST['login']; bash: =: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $entrar = $_POST['entrar']; bash: =: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $senha = md5($_POST['senha']); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $connect = mysql_connect('nome_do_servidor','nome_de_usuario','senha'); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $db = mysql_select_db('nome_do_banco_de_dados'); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ if (isset($entrar)) { bash: syntax error near unexpected token `$entrar' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ $verifica = mysql_query("SELECT * FROM usuarios WHERE login = bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ '$login' AND senha = '$senha'") or die("erro ao selecionar"); > if (mysql_num_rows($verifica)<=0){ > echo"<script language='php 7' type='text/java'> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ alert('Login e/ou senha incorretos');window.location bash: syntax error near unexpected token `'Login e/ou senha incorretos'' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ .href='login.html';</script>"; > die(); > }else{ > setcookie("login",$login); > header("Location:index.php"); > } > } > ?> > <?php > $login_cookie = $_COOKIE['login']; > if(isset($login_cookie)){ > echo"Bem-Vindo, $login_cookie <br>"; > echo"Essas informações <font color='red'>PODEM</font> ser acessadas por você"; > }else{ > echo"Bem-Vindo, convidado <br>"; > echo"Essas informações <font color='red'>NÃO PODEM</font> ser acessadas por você"; > echo"<br><a href='login.html'>Faça Login</a> Para ler o conteúdo"; bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $ ?> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/matheus teste (master) $
if($login == "" || $login == null){ echo" alert('O campo login deve ser preenchido');window.location.href= espaço
cadastro.html';</script>";
}else{
if($logarray == $login){
echo"<script language='javascript' type='text/javascript'>
alert('Esse login já existe');window.location.href='
cadastro.html';</script>";
die();
}else{
$query = "INSERT INTO usuarios (login,senha) VALUES ('$login','$senha')";
$insert = mysql_query($query,$connect);
if($insert){
echo"<script language='php 7' type='text/javascript'>
alert('Usuário cadastrado com sucesso!');window.location.
href='login.html'</script>";
}else{
echo"<script language='javascript' type='text/javascript'>
alert('Não foi possível canasta esse usuário');window.location
.href='cadastro.html'</script>";
}
}
}
?>
$verifica = mysql_query("SELECT * FROM usuarios WHERE login =
'$login' AND senha = '$senha'") or die("erro ao selecionar");
if (mysql_num_rows($verifica)<=0){
echo"<script language='php 7' type='text/java'>
alert('Login e/ou senha incorretos');window.location
.href='login.html';</script>";
die();
}else{
setcookie("login",$login);
header("Location:index.php");
}
} ?>
Selected from shared topics, language and repository description—not editorial ratings.
analistadeperon /
User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@page contentType="text/html" import="java sercer face .util.*, java server face.text.*" bash: %@page: No such file or directory <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> <% int dia = Integer.parseInt((new SimpleDateFormat("dd")) .format(new Date())); out.println("<br>Hoje é dia" + dia); %> </body> If(condição){ Codificação se verdadeiro;} else {Condificação se falso;} If(condição){ Codificação se verdadeiro;} else if(condição) {Condificação se a segunda condição for verdadeira;} else {Codificação se a segunda condição for falsa;} <%@page contentType="text/html" import="java.util.*, java.text.*" pageEncoding="ISO-8859-1"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>JSP Page</title> </head> <body> <% out.println("<h1>Hello Tarefas gerenciadas!</h1>"); int dia = Integer.parseInt((new SimpleDateFormat("dd")).format(new Date())); int mes = Integer.parseInt((new SimpleDateFormat("M")).format(new Date())); int ano = Integer.parseInt((new SimpleDateFormat("yyyy")).format(new Date())); if(mes==1){ out.println("documento " + dia + " de Janeiro de " + ano); }else if(mes==02){ out.println("documento " + dia + " de Fevereiro de " + ano); }else if(mes==3){ out.println("documento " + dia + " de Março de " + ano); }else if(mes==4){ out.println("documento " + dia + " de Abril de " + ano); }else if(mes==5){ out.println("documento" + dia + " de Maio de " + ano); }else if(mes==6){ out.println("documento " + dia + " de Junho de " + ano); }else if(mes==7){ out.println("documento " + dia + " de Julho de " + ano); }else if(mes==8){ out.println("documento" + dia + " de Agosto de " + ano); }else if(mes==9){ out.println("documento " + dia + " de Setembro de " + ano); }else if(mes==10){ out.println("documento " + dia + " de Outubro de " + ano); }else if(mes==11){ out.println("documento " + dia + " de Novembro de " + ano); }else if(mes==12){out.println("documento " + dia + " de Dezembro de " + ano); } <%@page contentType="text/html" import="java.util.*, java.text.*" pageEncoding="ISO-8859-1"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>JSP Page</title> </head> <body> <% out.println("<h1>Hello World!</h1>"); int dia = Integer.parseInt((new SimpleDateFormat("dd")).format(new Date())); int mes = Integer.parseInt((new SimpleDateFormat("M")).format(new Date())); int ano = Integer.parseInt((new SimpleDateFormat("yyyy")).format(new Date())); switch(mes){ case 1: out.println("documento" + dia + " de Janeiro de " + ano); break; case 2: out.println("documento " + dia + " de Fevereiro de " + ano); break; case 3: out.println("documento " + dia + " de Março de " + ano); break; default: out.println("Ola"); } %> </body> </html> %> </body> </html></html> <%! public String fncMES(int mes) { String retorno =""; switch(mes){ case 1: retorno="Janeiro";break; case 2: retorno="Fevereiro";break; case 3: retorno="Março";break; case 4: retorno="Abril";break; case 5: retorno="Maio";break; case 6: retorno="Junho";break; case 7: retorno="Julho";break; case 8: retorno="Agosto";break; case 9: retorno="Setembro";break; case 10: retorno="Outubro";break; case 11: retorno="Novembro";break; case 12: retorno="Dezembro";break; } return retorno; } %> <h1> Pagina JSP </h1> <h4> <% int mes = Integer.parseInt(new SimpleDateFormat("M").format(new Date())); int dia = Integer.parseInt(new SimpleDateFormat("dd").format(new Date())); int ano = Integer.parseInt(new SimpleDateFormat("yyyy").format(new Date())); out.println("documento " + dia + " de " + fncMES(mes) + " de " + ano); %></h4> <!DOCTYPE HTML JAVA SERVER FACE PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>JSP Page</title> </head> <body> <%@include file="topo.jsp"%> <form action="trataform.jsp" method="post"> Nome:<input type="text" name="txtnome"/><br> E-Mail:<input type="text" name="txtemail"/><br> Data de Nascimento:<input type="text" name="txtdtnasc"/><br> <input type="submit" value="Enviar"/> </form> <%@include file="rodape.jsp"%> </body> </html> "http://www.github.com/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>JSP Page</title> </head> <body> <%@include file="topo.jsp"%> Dados do formulario<br> <% String nome = request.getParameter("txtnome"); if(nome=="") out.println("Nome não foi digitato"); else out.println("Seu nome é " + nome); %> <br>E-Mail: <%=request.getParameter("txtemail")%><br> Data de Nascimento: <%=request.getParameter("txtdtnasc")%><br> <%@include file="rodape.jsp"%> </body> </html> User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ pageEncoding="ISO-8859-1"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <meta http-equiv="Content-Type" content="text/html; > charset=ISO-8859-1"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <title>JSP Page</title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <h1>Hello World!</h1> bash: !: event not found User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <% bash: %: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int dia = Integer.parseInt((new SimpleDateFormat("dd")) bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ .format(new Date())); bash: syntax error near unexpected token `new' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("<br>Hoje é dia" + dia); bash: syntax error near unexpected token `"<br>Hoje é dia"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ %> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ If(condição){ Codificação se verdadeiro;} else {Condificação se falso;} bash: syntax error near unexpected token `condição' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ If(condição){ Codificação se verdadeiro;} bash: syntax error near unexpected token `condição' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ else if(condição) {Condificação se a segunda condição for verdadeira;} bash: syntax error near unexpected token `else' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ else {Codificação se a segunda condição for falsa;} bash: syntax error near unexpected token `else' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@page contentType="text/html" import="java.util.*, java.text.*" pageEncoding="ISO-8859-1"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <title>JSP Page</title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <% bash: %: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("<h1>Hello Tarefas gerenciadas!</h1>"); bash: !: event not found User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int dia = Integer.parseInt((new SimpleDateFormat("dd")).format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int mes = Integer.parseInt((new SimpleDateFormat("M")).format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int ano = Integer.parseInt((new SimpleDateFormat("yyyy")).format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ if(mes==1){ bash: syntax error near unexpected token `{' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Janeiro de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==02){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Fevereiro de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==3){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Março de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==4){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Abril de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==5){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento" + dia + " de Maio de " + ano); bash: syntax error near unexpected token `"documento"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==6){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Junho de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==7){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Julho de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==8){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento" + dia + " de Agosto de " + ano); bash: syntax error near unexpected token `"documento"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==9){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Setembro de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==10){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Outubro de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==11){ bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de Novembro de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ }else if(mes==12){out.println("documento " + dia + " de Dezembro de " + ano); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@page contentType="text/html" import="java.util.*, java.text.*" pageEncoding="ISO-8859-1"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <title>JSP Page</title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <% bash: %: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("<h1>Hello World!</h1>"); bash: !: event not found User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int dia = Integer.parseInt((new SimpleDateFormat("dd")).format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int mes = Integer.parseInt((new SimpleDateFormat("M")).format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int ano = Integer.parseInt((new SimpleDateFormat("yyyy")).format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ switch(mes){ bash: syntax error near unexpected token `mes' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 1: > out.println("documento" + dia + " de Janeiro de " + ano); bash: syntax error near unexpected token `out.println' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ break; bash: break: only meaningful in a `for', `while', or `until' loop User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 2: > out.println("documento " + dia + " de Fevereiro de " + ano); bash: syntax error near unexpected token `out.println' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ break; bash: break: only meaningful in a `for', `while', or `until' loop User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 3: > out.println("documento " + dia + " de Março de " + ano); bash: syntax error near unexpected token `out.println' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ break; bash: break: only meaningful in a `for', `while', or `until' loop User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ default: bash: default:: command not found User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("Ola"); bash: syntax error near unexpected token `"Ola"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ %> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ %> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </html></html> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%! bash: %!: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ public String fncMES(int mes) bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ { > String retorno =""; > switch(mes){ bash: syntax error near unexpected token `mes' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 1: retorno="Janeiro";break; bash: syntax error near unexpected token `retorno="Janeiro"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 2: retorno="Fevereiro";break; bash: syntax error near unexpected token `retorno="Fevereiro"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 3: retorno="Março";break; bash: syntax error near unexpected token `retorno="Março"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 4: retorno="Abril";break; bash: syntax error near unexpected token `retorno="Abril"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 5: retorno="Maio";break; bash: syntax error near unexpected token `retorno="Maio"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 6: retorno="Junho";break; bash: syntax error near unexpected token `retorno="Junho"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 7: retorno="Julho";break; bash: syntax error near unexpected token `retorno="Julho"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 8: retorno="Agosto";break; bash: syntax error near unexpected token `retorno="Agosto"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 9: retorno="Setembro";break; bash: syntax error near unexpected token `retorno="Setembro"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 10: retorno="Outubro";break; bash: syntax error near unexpected token `retorno="Outubro"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 11: retorno="Novembro";break; bash: syntax error near unexpected token `retorno="Novembro"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ case 12: retorno="Dezembro";break; bash: syntax error near unexpected token `retorno="Dezembro"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ return retorno; bash: return: retorno: numeric argument required bash: return: can only `return' from a function or sourced script User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ } bash: syntax error near unexpected token `}' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ %> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <h1> Pagina JSP </h1> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <h4> <% bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int mes = Integer.parseInt(new SimpleDateFormat("M").format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int dia = Integer.parseInt(new SimpleDateFormat("dd").format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ int ano = Integer.parseInt(new SimpleDateFormat("yyyy").format(new Date())); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("documento " + dia + " de " + fncMES(mes) + " de " + ano); bash: syntax error near unexpected token `"documento "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ %></h4> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <!DOCTYPE HTML JAVA SERVER FACE PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" bash: !DOCTYPE: event not found User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ "http://www.w3.org/TR/html4/loose.dtd"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <title>JSP Page</title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@include file="topo.jsp"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <form action="trataform.jsp" method="post"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ Nome:<input type="text" name="txtnome"/><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ E-Mail:<input type="text" name="txtemail"/><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ Data de Nascimento:<input type="text" name="txtdtnasc"/><br> bash: syntax error near unexpected token `<' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <input type="submit" value="Enviar"/> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </form> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@include file="rodape.jsp"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ "http://www.github.com/TR/html4/loose.dtd"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <html> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <title>JSP Page</title> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </head> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@include file="topo.jsp"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ Dados do formulario<br> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <% bash: %: No such file or directory User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ String nome = request.getParameter("txtnome"); bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ if(nome=="") > out.println("Nome não foi digitato"); bash: syntax error near unexpected token `"Nome não foi digitato"' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ else bash: syntax error near unexpected token `else' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ out.println("Seu nome é " + nome); bash: syntax error near unexpected token `"Seu nome é "' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ %> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <br>E-Mail: <%=request.getParameter("txtemail")%><br> bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ Data de Nascimento: <%=request.getParameter("txtdtnasc")%><br> bash: syntax error near unexpected token `(' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ <%@include file="rodape.jsp"%> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </body> bash: syntax error near unexpected token `newline' User@DESKTOP-4Q3U2OK MINGW64 ~/Desktop/matheus (master) $ </html>