• Welcome to Auciou's Blog! Subscibe
  • HomeAbout AuciouArchivesContactSite MapLinks

  • About the QUERY_STRING parameter of URL

    Auciou posted on January 13, 2010 at 04:56

    In these 7 years program experiences, I often used the QUERY_STRING parameter. The active page needed use this QUERY_STRING parameter largely, It is also called "query parameter". Such as article.asp?id=52, main.php?violate=respond&aware=52&retail=75, etc., the parameters after the question mark. There are many sites use many query parameter in the Address Bar, make the URL longer. Actually some are not necessary, and some are necessary. The unnecessary query parameter, just works for adorning the URL, these noneffective query parameters do not affect the run of program.

    The query parameters may reduce largely, such as the documents of Blog and forum. In a site, the approach of differentiating 2 articles is that as the URL above, article.asp?id=52 or article.php?id=495, differentiate by the ?id=. All of the other parameters, may write in the database or Cookies. Because Apache provides the .htaccess, the URL may use the Rewrite module or 404 error, realise that the URL becomes static. The query parameters may write in the database or Cookies, many necessary parameters write on the Address Bar by the connective symbols / or -.

    For the immovable links of documents, you may reduce the QUERY_STRING parameters as possible. For the active URLs of search or query which submited by the users, the QUERY_STRING parameters may write on the Address Bar.

    0 Comment:

    Post a comment:
    Name: (* Required)
    URL:
    Code: q48u58e68s78t88 (* Required)

    Comments:

        Remember? Yes No

    Post a trackback directly

  • Auciou: Programmer

    Peaceful Seabed | My column

    Category:
    Program | Internet | Computer
    Blog Research | PHP | Philosophy


    TDNote | Gratitude | Matnue | Aucist | Aroat | Aufirm | IXNes | Anydiary | Cersta | Coumit | Tovate | Aroat | Aucist | Matnue | Sinvide | Serble | Auciou's column | Peaceful Seabed | Webshu | Sail every day | Sail every day

    Archives:
    January 2011 | January 2010
    December 2009 | October 2009 | September 2009 | April 2009
    December 2008 | November 2008
    May 2007 | April 2007
    August 2005 | July 2005 | June 2005
    May 2005 | April 2005 | March 2005
    February 2005 | January 2005

    Recent articles:
    My Go Daddy hosting is fast
    Create a house with your spouse on the interest
    Pending time which add a domain of hosting, was more than 36 hours
    Diary: 2010-01-15
    Many Linux hostings do not support the mod_expires module
    Figured out, there is still a way
    About the delicated IP of IXWebHosting
    About the QUERY_STRING parameter of URL
    About the ping value and speed of site
    The relation between program and .htaccess file
    Saved a delicated IP
    Judge that does a long-range file exist in PHP
    How to call the Confederation of Planets and the high evolving beings of alien/pray/make a wish
    Use Apache as the local virtual hosting to preview the Blog
    Create the development environment of Apache
    Reinstall Apache and PHP for one step
    The elements of program of preventing the spam and closing IP
    How to close the visit log of ixwebhosting
    Happy Wedding to a friend
    Make an easy Audio/Video converter


  • Copyright © 2007-2025 auciou.com All rights reserved.
    Programmed by Auciou.