Results 1 to 5 of 5
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    266
    Question Mark in URL?
    In Analog: I was checking my site logs under the category: Failed Referrer Report - I see URLs of my pages and some have a "?" at the end of the URL. I do not use question marks in my URLs. Please does anyone know what this means?

    Thanks,
    Tami

  2. #2
    ABW Veteran Mr. Sal's Avatar
    Join Date
    January 18th, 2005
    Posts
    6,792
    Quote Originally Posted by Tami
    In Analog: I was checking my site logs under the category: Failed Referrer Report - I see URLs of my pages and some have a "?" at the end of the URL. I do not use question marks in my URLs. Please does anyone know what this means?

    Thanks,
    Tami
    I will give you an example why some people will do that'.
    You see the URL of this thread http://forum.abestweb.com/showthread.php?t=55417 this is the same URL of this page we're on now.

    If you where to include that link in your site and wanted to let the webmaster of this site that you have linked to this page, all you would have to do is this: http://forum.abestweb.com/showthread.php?t=55417?Tami
    By adding ?Tami to the end of the link, they will see that your site was the one that refer someone to this page.

    Another example is:

    If someone go to Tami.com/ and I liked your site, they might tell you so in your own link like this:

    Tami.com/?Nice-Site

    There may be other answers, but those are the one I remember now.

    Sal.

  3. #3
    Full Member
    Join Date
    January 18th, 2005
    Posts
    266
    Very helpful!
    Thanks Sal
    Tami

  4. #4
    ABW Ambassador
    Join Date
    January 17th, 2005
    Posts
    1,205
    Anything after the '?' in a URL is called the "Querystring".

    Querystring is what happens when you set your form method to "get". You can also hard-code them in your HTML. The ?t=55417 in this thread tells the server to get thread number 55417 out of the database that stores this forum.

    The '&' character is used to separate more than one variable/value pair.

    Example: http://www.google.com/search?hl=en&q=querystring

    Querystring = 'hl=en&q=querystring'

    Two variables are populated: "hl" tells Google what language I want and "q" tells google what I'm searching for.

  5. #5
    Full Member
    Join Date
    January 17th, 2005
    Posts
    339
    To pass a parameter from the URL to the process pointed to by the URL:

    1. The first parameter to be passed uses the ?
    EX: site.php?parm1=value1

    2. Subsequent parameters use the &
    EX: site.php?parm1=value1&parm2=value2&parm3=value3 ...

    Jim in Texas

+ Reply to Thread

Similar Threads

  1. URL Question
    By Robert484848 in forum Midnight Cafe'
    Replies: 4
    Last Post: May 21st, 2004, 01:58 PM

Posting Permissions

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