Jump to content

kirka

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by kirka

  1. When I run this code below, it dies when the character r or n is encountered.  I only want it to die when there is a backslash and r or backslash and n together.  I have tried two backlsashes and that does not work either.

    Does anybody know how I can fix this?

    Thanks,
    Kirka

    function checkinjection($checkstring)
      {
    if (eregi("\r",$checkstring) || eregi("\n",$checkstring)){
    die("Problem Sending Email - MI");
    }
    }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.