Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoranis
    • CommentTimeNov 18th 2006
     permalink
    Sometimes i see some ".html" files are taking get method parameter.
    Such as : http://www.example.com/abcd.html?bird=parrot

    Can u please tell me how it works ???
    Thanx.
    • CommentAuthorPettyRider
    • CommentTimeNov 19th 2006
     permalink
    Any number of things can be happening. Most likely, the server isn't actually loading a .html file, but rather a script, maybe PHP, ASP, anything, really. Also, JavaScript can parse the URL and pull the parameters it needs.
    • CommentAuthoreasement
    • CommentTimeNov 20th 2006
     permalink

    Most likely, it's javascript parsing the URL string. However, I have seen someone change their apache configuration to process the file extension .html and .html as PHP.

    • CommentAuthorPettyRider
    • CommentTimeNov 20th 2006
     permalink
    You can also be routing to a front-controller with mod_rewrite. So, http://.../example/rewrite.html?q=find+it+for+me could actually be hitting a PHP file, which can parse the query string, as well as the path. This is a common method and is offered by most frameworks and CMSs.
    • CommentAuthoranis
    • CommentTimeNov 26th 2006
     permalink
    Thanx all of you.
    Recently I found a javascript which can manipulate Quary String and genarate 2 arrays containing
    GET params. 1 array store them as index number and another array is associative as name:value.
    I think, it also can help you.
    www.howtocreate.co.uk\jslibs\htmlhigh\locvar.html
    Thanx again.
Add your comments
    Username Password
  • Format comments as (Help)