inicio mail me! sindicaci;ón

welcome to my space

Case sensitivity with querystrings

  • Hi,

    I want to give my script a variable via querystring. How do you solve case-problems, say as the Querystring name=Miller is given you can obtain "Miller" querying HTTP_POST_VARS["name"].

    If the user enters Name=Miller nothing is given back.
    Are there other possibilities than searching the lower case querystring for "name=" and then determining it's value by taking the string begining after the equals sign ending with the next ampersand or at the end of the string?

    Greetings
    Bard


  • you can't easily cover all the posibilities but maybe you can search for the variable Name, and if present assign that value to the real variable.

    if ($Name) $name = $Name;







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Case sensitivity with querystrings , Please add it free.