Results 1 to 4 of 4

Thread: URL base32 extension

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2005
    Posts
    150

    URL base32 extension

    Hi Folks,

    I do see some websites with extensions such as the one below where extra numbers and letters possibly on base 32 have been added to the URL.

    Code:
    http://www.mywebsite.com/index.php?lh=566057805f1cc3cc5885dde4cc663f32
    If anyone has had experience in creating something like this, could they tell me how to achieve that with PHP, please?

    Thanks,
    Menre

  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: URL base32 extension

    What is it you want to do exactly? You can tack that on to any URL you want. But it depends what you want to do with it.

    To get the "lh" string use $_GET
    PHP Code:
    $lh $_GET['lh']; 

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: URL base32 extension

    Looks like an MD5 hash sum.

    Usually when one sees these in the query part of a URL it is a session identifier. The recommended way to transmit session identifiers is by using a cookie instead.
    Last edited by penagate; Nov 12th, 2011 at 08:15 PM.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2005
    Posts
    150

    Re: URL base32 extension

    Thanks for your responses. Both of you have an idea of what I want to do and how to go about it. I will have to post a snippet of the problem at hand then so that you can help me better.

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