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
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts

    /SECTION in a URL

    I'm kindof confused as to how you find out what the /thisbit of a link is. For example.

    youtube.com/profilename
    xfire.com/profile/profilename

    Because if you try to access it as a directory or file it just says not found. So there must be a way of catching that part of the url. Theres no ? before it so surely its not being sent through GET. And POST can't be either because you can access it through your url bar. Is it literally just stored in the root post variable or something?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Its likely using mod_rewrite. Look it up. It will explain a lot. Another term to search for is clean URLs.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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