- 0
-
Registre-se
Faça parte da maior e mais antigas comunidades sobre Lineage2 da América Latina.
- Entre
- ou
- Cadastre-se
-
Quem Está Navegando
- Nenhum usuário registrado visualizando esta página.
-
Posts
-
Por Gabrieljdb · Postado
Falta arquivo "armorgrp.dat" alguém poderia postar. Grato! -
Também to querendo só a textura do drop no chão, se alguém tiver.
-
Opa Obrigado amigo e aguarde que vamos tentar por todas as quests 99,9% funcional principalemnte porque projeto acis nao vi ate agora com quest 90%
-
Por Saimon Cordeiro · Postado
Boa noite, estimado amigo! Sou entusiasta de servidores Low Raste e vou testar as missões do projeto, começando pelas classes de nível 20 de todas as raças. Desde já, expresso minha gratidão pelo suporte e pelo empreendimento. -
Por otaviodeyvison · Postado
Zonas em Vermelho - Mapas de upgrades de outras crônicas por isso nao esta disponivel nesse pack de download. Link Download: O conteúdo está oculto, favor efetuar login ou se cadastrar! Entre ou Cadastre-se -
Por otaviodeyvison · Postado
- Aqui esta listado todas as quests - conforme os infos disponíveis, no qual podemos testar as quests: -
Ola amigo no caso sua duvida sobre a lucera tem que ser feita na area oficial do projeto. Segue o link da area. Dúvidas - L2JBrasil - A Maior e mais antiga Comunidade de Lineage 2 da América Latina
-
Por zoidegato22 · Postado
boa Kelvin, eu tenho essa Rev lucera , voce poderia tira uma informação, so 1 duvida, pois eu coloco na Config de logar 2 char por HWID , nao funciona, só funciona o po IP, poderia me tira essa duvida.
-
Pergunta
Arkond
Olá pessoal!
Estou com um site que já está todo pronto, porém acho que está errado meu arquivo .php no formulário de contrato, já configurei como "imagino" estar certo, mais não vai, espero que um par de olhos possa me ajudar, desde já agradeço muito! Código .php abaixo:
<?php
class Ajax_Contact_Form {
protected $address_destination = '[email protected]';
protected $message_subject = 'Message from AJAX Contact Form';
protected $strings = array(
'body' => '
<h1>{{subject}}</h1>
<p><strong>From:</strong> {{name}}</p>
<p><strong>E-Mail:</strong> {{email}}</p>
<p><strong>Message:</strong> <br> {{message}}</p>',
'success' => 'Thank You! I will be in touch.',
'error' => 'Sorry there was an error sending your message. Please check server PHP mail configuration.',
'demo' => 'This is demo message from PHP',
'header_injection' => 'Header injection detected.',
'enter_name' => 'Please enter your name.',
'enter_email' => 'Please enter a valid email address.',
'enter_message' => 'Please enter your message.',
'ajax_only' => 'Allowed only XMLHttpRequest.',
);
protected $demo = true;
public function __construct() {
if ( $this->demo ) {
$this->successHandler('demo');
}
// Ajax check.
if ( ! isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) || 'XMLHttpRequest' !== $_SERVER['HTTP_X_REQUESTED_WITH'] ) {
$this->errorHandler('ajax_only');
}
// Get post data.
$name = stripslashes(trim($_POST['name']));
$email = stripslashes(trim($_POST['email']));
$message = stripslashes(trim($_POST['message']));
// Sanitize fields.
$name = filter_var($name, FILTER_SANITIZE_STRING);
$email = filter_var($email, FILTER_SANITIZE_EMAIL);
$message = filter_var($message, FILTER_SANITIZE_STRING);
$message = nl2br($message, false); // false gives <br>, true gives <br />
// Check header injection.
$pattern = '/[\r\n]|Content-Type:|Bcc:|Cc:/i';
if ( preg_match($pattern, $name) || preg_match($pattern, $email) ) {
$this->errorHandler('header_injection');
}
// Validate email.
$isEmailValid = filter_var($email, FILTER_VALIDATE_EMAIL);
// Check if name has been entered.
if ( ! $name ) {
$this->errorHandler('enter_name');
}
// Check if email has been entered and is valid.
if ( ! $isEmailValid || ! $email ) {
$this->errorHandler('enter_email');
}
// Check if message has been entered.
if ( ! $message ) {
$this->errorHandler('enter_message');
}
// Prepare headers.
$headers = 'MIME-Version: 1.1' . PHP_EOL;
$headers .= 'Content-type: text/html; charset=utf-8' . PHP_EOL;
$headers .= "From: $name <$email>" . PHP_EOL;
$headers .= "Return-Path: $this->address_destination" . PHP_EOL;
$headers .= "Reply-To: $email" . PHP_EOL;
$headers .= "X-Mailer: PHP/". phpversion() . PHP_EOL;
// Prepare body.
$body = $this->getString('body');
$body = $this->template( $body, array(
'subject' => $this->message_subject,
'name' => $name,
'email' => $email,
'message' => $message,
) );
$body = "
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html>
<head>
<title>{$this->message_subject}</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
</head>
<body>{$body}</body>
</html>
Kaio Alencar
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts recomendados
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.