TEMA:

Code is not working 1 año 1 mes antes #273255

  • Autor del tema
  • Ralle1170
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 18
  • Gracias recibidas: 1
Hello, yes that is correct. I can't send it when I type something. I'll keep an eye on it and let you know if it works.
Could the email address still be checked for .ru / .cn and blocked?
Thanks very much.

Best regards Ralf :)

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Code is not working 1 año 1 mes antes #273256

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 786
Hi,

just put it in the code, like:
$this->execPieceByName('ff_InitLib');

$noSpam = "/(http|www|<|>|href|https|mailto|php|url|href|link|ftp|sftp|txt|.ru|.cn)/";
$element=ff_getSubmit('nameofeleement');
$element1=ff_getSubmit('nameofelement1');
$checkFields = array($element,$element1);
foreach ($checkFields as $Fld){
if( preg_match($noSpam, $Fld)){
echo 'wrong';
exit();
}
}
Hope this will help

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Code is not working 1 año 1 mes antes #273265

  • Autor del tema
  • Ralle1170
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 18
  • Gracias recibidas: 1
Oh that was super fast. Thank you.
I will test it :-)

regards Ralf

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Code is not working 1 año 1 mes antes #273268

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 786

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Página:
  • 1
  • 2
  • 3
Tiempo de carga de la página: 0.056 segundos

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!