Jump to content

Search the Community

Showing results for tags 'fatal error'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Q&A Desenvolvimento
    • Perguntas e respostas rápidas
  • Desenvolvimento e Banco de Dados
    • HTML e CSS
    • Java
    • Javascript
    • .NET
    • PHP
    • Python
    • Ruby
    • Mobile
    • Ambientes de Desenvolvimento
    • Arquitetura e Métodos Ágeis
    • Banco de Dados
    • DevOps
    • Desenvolvimento de Games
    • E-Commerce e Pagamentos Online
    • SEO e Otimizações
    • WordPress
    • Algoritmos & Outras Tecnologias
  • Design e Produto
    • Fotografia
    • Photoshop
    • Design de interfaces e UX
    • Edição/Produção de Vídeos
    • Marketing Online
    • Desenho, Ilustração e 3D
  • Entretenimento e uso pessoal
    • Geral
    • Segurança & Malwares
    • Gadgets e wearable
    • Softwares e Apps
    • Entretenimento

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Google+


Hangouts


Skype


Twitter


deviantART


Github


Flickr


LinkedIn


Pinterest


Facebook


Site Pessoal


Localização


Interesses

Found 8 results

  1. Boa Tarde pessoal esta em a dar este erro Fatal error: Call to undefined method cromsoftcontrolo::cromsoftcontrolo() in C:\wamp\www\CromSoft\cromsoft.php on line 14 cromsoft page: <?php require 'controlos/cromsoftcontrolo.php'; $CromSoftcontrolo = new cromsoftcontrolo(); if(isset($_POST['codCategoria'])) { //Fill page with coffees of the selected type $coffeeTables = $CromSoftcontrolo->cromsoftcontrolo($_POST['codCategoria']); } else { //Page is loaded for the first time, no type selected -> Fetch all types $coffeeTables = $CromSoftcontrolo->cromsoftcontrolo('%'); } //Output page data $title = 'Coffee overview'; $content = $CromSoftcontrolo->CreateCromSoftDropdownList(). $cromsoftTables; include 'Template.php'; ?>
  2. ewerton_19

    PHP PDO

    Olá pessoal sou novo no forum, e começei a estudar php pelo manual,pois nao tenho condiçoes de pagar um curso. Bom estou passando um script pequeno que tenho aqui,para PDO e estou com problemas Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key Meu código (funcionava perfeitamente com mysql): $res = $tonn->prepare("INSERT INTO fun_online SET userid = :userid, actvtime = :actvtime, place = :place, placedet = :placedet"); $res->bindParam(':userid', $uid, PDO::PARAM_STR); $res->bindParam(':actvtime', $ttime, PDO::PARAM_STR); $res->bindParam(':place', $place, PDO::PARAM_STR); $res->bindParam(':placedet', $plclink, PDO::PARAM_STR); $res->execute(); if(!$res) { $res = $tonn->prepare("UPDATE fun_online SET actvtime = :actvtime, place = :place , placedet = :placedet WHERE userid = :userid"); $res->bindValue(':actvtime', $ttime, PDO::PARAM_STR); $res->bindValue(':place', $place, PDO::PARAM_STR); $res->bindValue(':placedet', $plclink, PDO::PARAM_STR); $res->bindValue(':userid', $uid, PDO::PARAM_STR); $res->execute(); }
  3. Poteitow

    Fatal error: Cannot redeclare class

    Ola, a todos! Estou com este erro que esta gerando um erro com uma Blank Page. Fatal error: Cannot redeclare class mpAuth in /home/artgolde/hostgolden.net/central/modules/gateways/mercadopago/lib.php on line 68 <?php class mpAuth extends mpCall { public $client_id = NULL; public $client_secret = NULL; public $refresh = NULL; public $newrefresh = null; public $accesstoken = NULL; public $error = NULL; protected $date = NULL; protected $expired = NULL; protected $b2b2c = false; public function GeAuthCore($url) { $link = "https://auth.mercadolibre.com.ar/authorization?client_id=" . $this->client_id . "&response_type=code&platform_id=mp&redirect_uri=" . $url; return $link; } public function GetRefreshToken($auth, $redict_url) { $url = "https://api.mercadolibre.com/oauth/token"; $header = array( "Accept: application/json" ); $post = array( "grant_type" => "authorization_code", "client_id" => $this->client_id, "client_secret" => $this->client_secret, "code" => $auth, "redirect_uri" => $redict_url ); $dados = $this->DoPost($post, $url, $header, "200", "post", "post"); return $dados; } public function getAccessToken() { $data = getdate(); $time = $data[0]; if( isset($this->accesstoken) && isset($this->date) ) { $timedifference = $time - $this->date; if( $timedifference < $this->expired ) { return $this->accesstoken; } } if( $this->refresh != null ) { $post = array( "client_id" => $this->client_id, "client_secret" => $this->client_secret, "grant_type" => "refresh_token", "refresh_token" => $this->refresh ); $this->b2b2c = true; $header = array( "Accept: application/json", "Content-Type: application/x-www-form-urlencoded" ); $url = "https://api.mercadolibre.com/oauth/token"; $dados = $this->DoPost($post, $url, $header, "200", "post", "post"); $this->accesstoken = $dados["access_token"]; $this->newrefresh = $dados["refresh_token"]; $this->date = $time; $this->expired = $dados["expires_in"]; return $dados["access_token"]; } $post = array( "client_id" => $this->client_id, "client_secret" => $this->client_secret, "grant_type" => "client_credentials" ); $header = array( "Accept: application/json", "Content-Type: application/x-www-form-urlencoded" ); $url = "https://api.mercadolibre.com/oauth/token"; $dados = $this->DoPost($post, $url, $header, "200", "post", "post"); $this->accesstoken = $dados["access_token"]; $this->date = $time; $this->expired = $dados["expires_in"]; return $dados["access_token"]; } } class mpCore extends mpAuth { public function __construct($client_id, $client_secret) { $this->client_id = $client_id; $this->client_secret = $client_secret; } public function GetMethods($country_id) { $url = "https://api.mercadolibre.com/sites/" . $country_id . "/payment_methods"; $header = array( "Content-Type:application/json" ); $methods = $this->DoPost($opt = null, $url, $header, "200", "none", "get"); return $methods; } public function GetCheckout($data, $excludes, $method = "lightbox") { if( $excludes != "" ) { $methods_excludes = preg_split("/[\\s,]+/", $excludes); foreach( $methods_excludes as $exclude ) { $excludemethods[] = array( "id" => $exclude ); } if( !isset($data["mkfee"]) ) { $data["mkfee"] = ""; } $data["mkfee"] = ""; $opt = array( "external_reference" => $data["external_reference"], "items" => array( array( "id" => $data["external_reference"], "title" => $data["title"], "description" => $data["quantity"] . " x " . $data["title"], "quantity" => $data["quantity"], "unit_price" => round($data["amount"], 2), "currency_id" => $data["currency"], "picture_url" => $data["image"] ) ), "payer" => array( "name" => $data["payment_firstname"], "surname" => $data["payment_lastname"], "email" => $data["email"] ), "back_urls" => array( "pending" => $data["pending"], "success" => $data["approved"] ), "payment_methods" => array( "excluded_payment_methods" => $excludemethods ) ); } else { $opt = array( "external_reference" => $data["external_reference"], "items" => array( array( "id" => $data["external_reference"], "title" => $data["title"], "description" => $data["quantity"] . " x " . $data["title"], "quantity" => $data["quantity"], "unit_price" => round($data["amount"], 2), "currency_id" => $data["currency"], "picture_url" => $data["image"] ) ), "payer" => array( "name" => $data["payment_firstname"], "surname" => $data["payment_lastname"], "email" => $data["email"] ), "back_urls" => array( "pending" => $data["pending"], "success" => $data["approved"] ) ); } $this->getAccessToken(); $url = "https://api.mercadolibre.com/checkout/preferences?access_token=" . $this->accesstoken; $header = array( "Content-Type:application/json", "Accept: application/json" ); $dados = $this->DoPost($opt, $url, $header, "201", "json", "post"); $link = $dados["init_point"]; switch( $method ) { case "lightbox": $bt = "<a href=\"" . $link . "\" name=\"MP-payButton\" class=\"blue-l-rn-ar\">Comprar</a>\n <script type=\"text/javascript\" src=\"https://www.mercadopago.com/org-img/jsapi/mptools/buttons/render.js\"></script>"; break; case "Iframe": $bt = "<iframe id=\"MP-Checkout-IFrame\" frameborder=\"0\" style=\"width: 740px; height: 480px;\" src=\"" . $link . "\">"; break; case "initpoint": $bt = $link; break; default: $bt = "<a href=\"" . $link . "\" name=\"MP-payButton\" class=\"blue-l-rn-ar\">Comprar</a>\n <script type=\"text/javascript\" src=\"https://www.mercadopago.com/org-img/jsapi/mptools/buttons/render.js\"></script>"; break; } if( $this->b2b2c ) { $return = array( $this->newrefresh, $bt ); return $return; } return $bt; } public function GetStatus($id) { $this->getAccessToken(); $url = "https://api.mercadolibre.com/collections/notifications/" . $id . "?access_token=" . $this->accesstoken; $header = array( "Accept: application/json", "Content-Type: application/x-www-form-urlencoded" ); $retorno = $this->DoPost($opt = null, $url, $header, "200", "none", "post"); return $retorno; } public function SearchPayment($dados = array( ), $limit = null, $offset = null, $sort = null, $order = null) { $field = ""; foreach( $dados as $key => $value ) { if( $key == "date_created" || $key == "date_approved" || $key == "last_modified" ) { $field .= "range=" . $key . "&"; foreach( $value as $keys => $dates ) { if( $keys == "start" ) { $field .= "begin_date=" . $dates . "&"; } else { if( $keys == "end" ) { $field .= "end_date=" . $dates . "&"; } } } } else { $field .= $key . "=" . $value . "&"; } } $this->getAccessToken(); if( $limit != null ) { $field .= "limit=" . $limit . "&"; } if( $offset != null ) { $field .= "offset=" . $offset . "&"; } if( $sort != null ) { $field .= "sort=" . $sort . "&"; } if( $order != null ) { $field .= "order=" . $order . "&"; } $header = array( "Accept: application/json", "Content-Type: application/x-www-form-urlencoded" ); $url = "https://api.mercadolibre.com/collections/search?access_token=" . $this->accesstoken . "&" . $field; var_dump($url); $retorno = $this->DoPost($opt = null, $url, $header, "none", "none", "get"); return $retorno; } public function RefundPayment($id) { $this->getAccessToken(); $header = array( "Content-Type:application/json", "Accept: application/json" ); $opt = "{\"status\":\"cancelled\"}"; $url = "https://api.mercadolibre.com/collections/" . $id . "?access_token=" . $this->accesstoken; $teste = $this->DoPost($opt, $url, $header, "200", "none", "put"); return $teste; } public function create_preapproval_payment($preapproval_payment, $method = "lightbox") { $this->getAccessToken(); $header = array( "Content-Type:application/json", "Accept: application/json" ); $url = "https://api.mercadolibre.com/preapproval?access_token=" . $this->accesstoken; $preapproval_payment_result = $this->DoPost($preapproval_payment, $url, $header, "201", "json", "post"); $link = $preapproval_payment_result["init_point"]; switch( $method ) { case "lightbox": $bt = "<a href=\"" . $link . "\" name=\"MP-payButton\" class=\"blue-l-rn-ar\">Comprar</a>\n<script type=\"text/javascript\" src=\"https://www.mercadopago.com/org-img/jsapi/mptools/buttons/render.js\"></script>"; break; case "Iframe": $bt = "<iframe id=\"MP-Checkout-IFrame\" frameborder=\"0\" style=\"width: 740px; height: 480px;\" src=\"" . $link . "\">"; break; case "initpoint": $bt = $link; break; default: $bt = "<a href=\"" . $link . "\" name=\"MP-payButton\" class=\"blue-l-rn-ar\">Comprar</a>\n <script type=\"text/javascript\" src=\"https://www.mercadopago.com/org-img/jsapi/mptools/buttons/render.js\"></script>"; break; } if( $this->b2b2c ) { $return = array( $this->newrefresh, $bt ); return $return; } return $bt; } } class mpCall { public static function debug($error) { echo "<br>Retorno error<br><pre>"; print_r($error); echo "</pre><br><br>"; } public function DoPost($fields, $url, $heads, $codeexpect, $type, $method) { if( $type == "json" ) { $posts = json_encode($fields); } else { if( $type == "none" ) { $posts = $fields; } else { $posts = http_build_query($fields); } } switch( $method ) { case "get": $options = array( CURLOPT_RETURNTRANSFER => "1", CURLOPT_HTTPHEADER => $heads, CURLOPT_SSL_VERIFYPEER => "false", CURLOPT_URL => $url, CURLOPT_POSTFIELDS => $posts, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_CONNECTTIMEOUT => 0 ); break; case "put": $options = array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_HTTPHEADER => $heads, CURLOPT_SSL_VERIFYPEER => "false", CURLOPT_URL => $url, CURLOPT_POSTFIELDS => $posts, CURLOPT_CUSTOMREQUEST => "PUT", CURLOPT_HEADER => 1, CURLOPT_CONNECTTIMEOUT => 0 ); break; case "post": $options = array( CURLOPT_RETURNTRANSFER => "1", CURLOPT_HTTPHEADER => $heads, CURLOPT_SSL_VERIFYPEER => "false", CURLOPT_URL => $url, CURLOPT_POSTFIELDS => $posts, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_CONNECTTIMEOUT => 0 ); break; case "delete": $options = array( CURLOPT_RETURNTRANSFER => "1", CURLOPT_HTTPHEADER => $heads, CURLOPT_SSL_VERIFYPEER => "false", CURLOPT_URL => $url, CURLOPT_POSTFIELDS => $posts, CURLOPT_CUSTOMREQUEST => "DELETE", CURLOPT_CONNECTTIMEOUT => 0 ); break; default: $options = array( CURLOPT_RETURNTRANSFER => "1", CURLOPT_HTTPHEADER => $heads, CURLOPT_SSL_VERIFYPEER => "false", CURLOPT_URL => $url, CURLOPT_POSTFIELDS => $posts, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_CONNECTTIMEOUT => 0 ); break; } $options[CURLOPT_SSLVERSION] = TLSv1; $call = curl_init(); curl_setopt_array($call, $options); $dados = curl_exec($call); $status = curl_getinfo($call); curl_close($call); if( $status["http_code"] != $codeexpect && $codeexpect != "none" ) { $this->debug($dados); return false; } return json_decode($dados, true); } } Obrigado pela atencao de todos, Abrs!
  4. Olá, meu problema e o seguinte Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2'' at line 1' in C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\pages\finalizar.php:25 Stack trace: #0 C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\pages\finalizar.php(25): PDOStatement->execute(Array) #1 C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\index.php(18): include_once('C:\Arquivos de ...') #2 {main} thrown in C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\pages\finalizar.php on line 25 o código aonde se localiza ele o erro <?php if (!$login->isLogado()) { header("Location: ".PATCH.""); }elseif ($carrinho->qtdProdutos() == 0) { header("Location: ".PATCH.""); } else{ if (!isset($_SESSION['realizado'])) { $strSQL = "INSERT INTO loja_pedidos (id_cliente, valor_total, status ,criado, modificado) VALUES(?,?,0,NOW(),NOW())"; $stmt = BD::conn()->prepare($strSQL); $stmt->execute(array($usuarioLogado->id_cliente, $_SESSION['total_compra'] )); $_SESSION['lastId'] = BD::conn()->lastInsertId(); foreach ($_SESSION['media_produto'] as $id => $qtd) { $strSQLdois = "INSERT INTO loja_produtos_pedidos (id_pedido, id_produto, qtd) VALUES(?,?,?)"; $stmtdois = BD::conn()->prepare($strSQLdois); $stmtdois->execute(array($_SESSION['lastId'], $id, $qtd)); $atualizar_qtd = BD::conn()->prepare("UPDATE loja_produtos SET estoque = estoque-$qtd WHERE id ?"); $atualizar_qtd->execute(array($id)); } $_SESSION['realizado'] = 1; } }//AQUI TERMINA ELSE ?> quero saber o pq quando ele redireciona para a pagina finaliza acaba enviando para o banco de dados o pedido e as outras informações mas ele acaba não fazendo o UPDATE no estoque ai queria saber o pq. DESDE JÁ AGRADEÇO PELA ATENÇÃO
  5. kenio Junio

    Fatal erro

    Estou com um problema e não consigo resolve, esta dando fatal error ao fazer uma exibição de categoria e subcategoria segue em anexo abaixo Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''loja_categoria' ORDER BY id DESC' at line 1' in C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\classes\site.class.php:19 Stack trace: #0 C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\classes\site.class.php(19): PDOStatement->execute() #1 C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\inc\slide_menu.php(4): Site->getMenu() #2 C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\pages\home.php(62): include_once('C:\Arquivos de ...') #3 C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\index.php(14): include_once('C:\Arquivos de ...') #4 {main} thrown in C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\classes\site.class.php on line 19 Ha conexão com o servidor esta ok config.php <?php define('HOST', 'localhost'); define('USER', 'root'); define('PASS', ''); define('BD', 'loja_curso'); define('PATCH', 'http://localhost/loja/loja/'); ?> AQUI TAMBÉM ESTA OK BD.class.php <?php class BD{ private static $conn; public function __construct(){} public function conn(){ if (is_null(self::$conn)) { self::$conn = new PDO('mysql:host='.HOST.';dbname='.BD.'',''.USER.'',''.PASS.''); self::$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } return (self::$conn) ? self::$conn : false; } } ?> ESSE AQUI E O CÓDIGO QUE ESTOU TENTANDO EXIBIR AS CATEGORIAS OBS: SEGUE EM ANEXO public function getMenu() { $pegar_categoria = "SELECT * FROM 'loja_categoria' ORDER BY id DESC"; $executar = self::conn()->prepare($pegar_categoria); $executar->execute(); if($executar->rowCount() == 0){}else{ while ($categoria = $executar->fetchObject()) { echo '<li><a href="'.PATCH.'categoria/'.$categoria->slug.'">'.$categoria->titulo.''; $pegar_subcategoria = "SELECT * FROM 'loja_subcategoria' WHERE id_cat = ?"; $executar_sub = self::conn()->prepare($pegar_subcategoria); $executar_sub->execute(array($categoria->id)); if ($executar_sub->rowCount() == 0) {echo '</li>';}else{ echo '<ul>'; while ($subcategoria = $executar_sub->fetchObject()) { echo '<li><a href="'.PATCH.'categoria/'.$categoria->slug.'/'.$subcategoria->slug.'">'.$subcategoria->titulo.'</a></li>'; } echo '</ul></li>'; } } } } AGRADEÇO PELA ATENÇÃO.
  6. kenio Junio

    erro com pdo

    Estou com esse erro Strict Standards: Non-static method BD::conn() should not be called statically in C:\Arquivos de programas\EasyPHP-DevServer-14.1VC9\data\localweb\loja\loja\inc\header.php on line 6 OBS: o erro aparece no header(cabecalho)configuração <?php class BD{ private static $conn; public function __construct(){} public function conn(){ if (is_null(self::$conn)) { self::$conn = new PDO('mysql:host='.HOST.';dbname='.BD.'',''.USER.'',''.PASS.''); self::$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } return (self::$conn) ? self::$conn : false; } } ?> header (cabecalho) <?php date_default_timezone_set("America/Sao_Paulo"); include_once "config.php"; // INCLUSAO DA CONFIGURAÇÃO DO SERVIDOR E ETC.... require_once "classes/BD.class.php"; require_once "classes/site.class.php"; BD::conn(); $site = new Site(); ?> GOSTARIA DE SABER COMO RESOLVE AGRADEÇO PELA ATENÇÃO
  7. olá pessoal estou editando um script e esta dando o seguinte erro Fatal error: Call to undefined method Session::getState() in C:\Users\wsa\Desktop\USBWebserver v8.6\root\index.php on line 42 // objects $session = new Session; $logger = new Logger; $db_mapper = new DbMapper; $user = new User("", "", "", "", "", "", ""); 42 if ($session->getState($session_state)){ 43 $username = $session->getUsername(); 44 $user = $db_mapper->getUser($username); }
  8. Matheus Peluchi

    Erro ao inserri dados na sessão.

    Bom dia pessoal, Sou iniciante em php e pesquisei em vários locais e não achei uma explicação clara sobre o erro abaixo. é um sistema de login simples. e estou iniciando a sessão para depois proteger as paginas seguintes. Mas algo sai errado quando tento atribuir valores a sessão. Fatal error: Can't use function return value in write context in C:\xampp\htdocs\chklogin.php on line 17 Segue os Scrips para análise. index.php <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Formulário Centralizado</title> <style type="text/css"> * { margin: 5; padding: 0; font-family:Tahoma; font-size:9pt;} #divCenter { background-color: White /*#e1e1e1;*/ width: 210px; height: 100px; left: 50%; margin: -10px 0 0 -130px; padding:10px; position: absolute; top: 60%; } #botao{ text-align: center } .botaoEnviar{ width: 350px; text-align: center; padding: 15px 20px; border: 1px solid #eee; border-radius: 6px; background-color: #FCC302; font-size: 18px; } #logo{ width: 400px; height: 300px; left: 35%; margin: 0px 0 0 0px; padding:10px; position: absolute; top: 0%; } </style> </head> <body> <img id="logo" src= "/logo/LogoPrincipal.png"> <div id="divCenter"> <form method="post" action="chklogin.php"> Login: <input type="text" name="edtlogin" /><br/> <br /> Senha: <input type="password" name="edtsenha" /><br/> <br/> <div id="botao"> <input type="submit" name="btentrar" value ="Entrar"/> </div> </form> </div> </body> </html> conectabd.php <?php $srv = 'localhost'; $usuariobd = 'root'; $senhabd = ''; $bd = 'SysObras'; $connectbd = mysql_connect ($srv, $usuariobd, $senhabd) or die ("Não foi possivel conectar a base."); $selectbd = mysql_select_db ($bd, $connectbd) or die ("Erro ao selecionar a base."); ?> chklogin.php <?php include ("conectabd.php"); Session_start(); $login = $_POST['edtlogin']; $senha = $_POST['edtsenha']; $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='javascript' type='text/javascript'>alert('Login e/ou senha incorretos');window.location.href='index.php';</script>"; }else{ $_SESSION('login') = $login; $_SESSION('senha') = $senha; header("Location:home.php"); } ?>
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.