Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts

    special characters

    Hello,

    I have a php script is for register users to my site. I want to allow some special characters on the username field(like lo´s, pab|o, ^mary^, etc..) But I'm freak,.

    If I allow the special characters on username exists a problem for bugs, problems with mysql or similar?


    Regards

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,775
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Quote Originally Posted by urgido
    Hello,

    I have a php script is for register users to my site. I want to allow some special characters on the username field(like lo´s, pab|o, ^mary^, etc..) But I'm freak,.

    If I allow the special characters on username exists a problem for bugs, problems with mysql or similar?


    Regards
    you're a freak?

    you can allow the special characters as long as you sanitize your data before it is inserted into your database, or into another web file. Use mysql_real_escape_string and htmlentities to sanitize your data.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!


  •  

    Posting Permissions

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