SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist sp0om's Avatar
    Join Date
    Feb 2004
    Location
    MN
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Advanced $GET_ Use?

    I've seen some sites that have URLs like:

    site.com/articlexxxx

    This is a neat trick I would like to be able to learn myself. Is $GET_ used to do this? I assume there isn't a folder on the server for each article (because there would really be a ton of them).

    A real working example of these neat URLs: http://digg.com/technology/WHAT_EVER..._TO_CHANNEL_1_

  2. #2
    SitePoint Wizard triexa's Avatar
    Join Date
    Dec 2002
    Location
    Canada
    Posts
    2,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there are a number of ways.

    The first I learned was to use an error page which checked the URL, if it was fitting their "form" then they sent a header saying page found and supplied the correct page.

    I think mod_rewrite (apache) can also be used to accomplish this...
    AskItOnline.com - Need answers? Ask it online.
    Create powerful online surveys with ease in minutes!
    Sign up for your FREE account today!
    Follow us on Twitter

  3. #3
    SitePoint Zealot musher's Avatar
    Join Date
    Nov 2005
    Location
    Hull, England
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I imagine mod_rewrite is being used on most sites for this sort of thing. If you run apache, mod_rewrite is definitely worth checking out.


Bookmarks

Posting Permissions

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