Results 1 to 4 of 4

Thread: PHP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Apr:2007
    Location: Bulgaria
    Posts: 301

    PHP

    if(!preg_match('/^[a-zA-Z][a-zA-Z0-9_\.\-]{2,12}$/', $name)) - - .. , , , . .
    Last edited by zulos; 9th February 2013 at 02:01.

  2. #2
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    if (!preg_match('/^[a-zA-Z--][a-z-0-9_.-]{2,12}$/u', $name))
    UTF-8 .

  3. #3
    Registered User
    Join Date: Apr:2007
    Location: Bulgaria
    Posts: 301
    Quote Originally Posted by tedych View Post
    if (!preg_match('/^[a-zA-Z--][a-z-0-9_.-]{2,12}$/u', $name))
    UTF-8 .


    : - , . - .
    Last edited by zulos; 9th February 2013 at 14:58. Reason:

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    , ( - ).
    , . , , utf-8.
    , "u"- . (username ). 12 , .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |