Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How i can control my web site ?

How i can control my web site ?

Scheduled Pinned Locked Moved C#
c++helptutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nematjon Rahmanov
    wrote on last edited by
    #1

    Hi. In my web site have forum. Users can insert anything texts.I want enabled inserting just english chars and numbers, and disabled all other characters! For example , in this forum any peoples writing native language(like arabian, parsian ,...) and how can disable it. Thanks. :doh:

    We are haven't bug,just temporarily undecided problems.

    R N 2 Replies Last reply
    0
    • N Nematjon Rahmanov

      Hi. In my web site have forum. Users can insert anything texts.I want enabled inserting just english chars and numbers, and disabled all other characters! For example , in this forum any peoples writing native language(like arabian, parsian ,...) and how can disable it. Thanks. :doh:

      We are haven't bug,just temporarily undecided problems.

      R Offline
      R Offline
      Ramkithepower
      wrote on last edited by
      #2

      If you want to do that from client side you can use javascript. Try searching for regular expression validator for javascript in google.

      Jack Sparrow -------------------------------------- Defeat is not the worst of failures. Not to have tried is the true failure.

      1 Reply Last reply
      0
      • N Nematjon Rahmanov

        Hi. In my web site have forum. Users can insert anything texts.I want enabled inserting just english chars and numbers, and disabled all other characters! For example , in this forum any peoples writing native language(like arabian, parsian ,...) and how can disable it. Thanks. :doh:

        We are haven't bug,just temporarily undecided problems.

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #3

        I would suggest that you could have a server side filter that will only accept messsages where a certain percentage of the message conforms to your policy. But saying 'English Only' is a bad option, do you accept café? What about allat?


        Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H

        N 1 Reply Last reply
        0
        • N Nagy Vilmos

          I would suggest that you could have a server side filter that will only accept messsages where a certain percentage of the message conforms to your policy. But saying 'English Only' is a bad option, do you accept café? What about allat?


          Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H

          N Offline
          N Offline
          Nematjon Rahmanov
          wrote on last edited by
          #4

          Hi. Yep, you are right ,i need change my logic. Thanks.

          We are haven't bug,just temporarily undecided problems.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups