Results 1 to 6 of 6

Thread: To Mendhak

  1. #1

    Thread Starter
    Fanatic Member duc's Avatar
    Join Date
    Oct 2002
    Location
    STEAM
    Posts
    702

    To Mendhak

    Why do you do this? Is it somehow easier to manage? I was just wondering. I was just wondering. I see it done on alot of webpages and I was wonderin what its for

    your links are like http://www.mendhak.com/paranormal/ufo/show.php?id=10

    instead of making it http://www.mendhak.com/paranormal/ufo/whatever.php or html

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    It probably pulls information out of a database, or calls a certain function in his show file.

    Storing records in a database and pulling them out...that's a much better method than having 0001.html through 1895.html.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Hope you don't mind me trying answer. I am not of frog kind.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629
    yeah, it's like hobo said. I do the same thing, because it is a hell of a lot easier to make a dynamic script that will automatically call the database upon request than taking up server space and your own time to have 0001.php through 9999.php for article numbers.
    Like Archer? Check out some Sterling Archer quotes.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    They've answered correctly. All I had to do was create show.php, and based upon the query string (id=10), I pull up information. Saves up on a lot of coding, especially if you want to modify something.

    VBForums has the example right there for you. You can do a forumdisplay.php?forumid=1, and a forumdisplay.php?forumid=3. The page stays the same, actions are different.

    HTH

  6. #6

    Thread Starter
    Fanatic Member duc's Avatar
    Join Date
    Oct 2002
    Location
    STEAM
    Posts
    702
    Originally posted by mendhak
    They've answered correctly. All I had to do was create show.php, and based upon the query string (id=10), I pull up information. Saves up on a lot of coding, especially if you want to modify something.

    VBForums has the example right there for you. You can do a forumdisplay.php?forumid=1, and a forumdisplay.php?forumid=3. The page stays the same, actions are different.

    HTH
    alrighty then, thx

Posting Permissions

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



Click Here to Expand Forum to Full Width