ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Swedish characters


  • 2006-10-03 03:35:48

    Swedish characters

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -Linux
    version of ATutor -1.5.3
    versions of php -5
    version of mysq l -
    webserver & version -Apache2
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

    Hi!
    Thanks for a great forum and ATutor.

    My question:
    How do i get it possible to use characters in login name and in the email address field without getting error?

    Thanks for help in advance!

    /regards

  • 2006-10-04 09:57:23

    Re: Swedish characters

    You cannot, unless you modify ATutor's code in a few places.

    You have to change this line:
    if (!(eregi("^[a-zA-Z0-9_.-]([a-zA-Z0-9_.-])*$", $_POST['login']))) {

    changed to include those characters in the square brakets.

  • 2006-10-04 16:07:18

    Re: Swedish characters

    Thanks, it works with small changes!
    Regards

    :)