Linked Questions

4 votes
2 answers
5k views

Possible Duplicate: PHP short hash like URL-shortening websites I need a function in which I can make url tokens with unique alpha-numeric tokens, I would use uniqid but it is too long for a user-...
user avatar
0 votes
4 answers
4k views

Possible Duplicate: php short hash I need to generate a short hash. The shortest possible from urls say under 6 characters. I need them to be unique just for the same domain, so a hash from www....
f1ames's user avatar
  • 1,754
0 votes
4 answers
502 views

Possible Duplicate: php short hash MD5 hashes are long and inconvenient to use. How can I further encode a md5 string to produce a shorter string using a subset of characters, for example a-z, A-Z ...
Dziamid's user avatar
  • 11.7k
2 votes
1 answer
4k views

I am trying to generate non-sequential human readable order codes derived from (lets say) a unsigned 32bit internal id that starts at 1 and is auto incremented for each new order. In my example code ...
brightemo's user avatar
  • 130
13 votes
4 answers
4k views

I'm looking to hash a string but I need the output to be an integer so I can't do md5. Do people here have any favorite numeric hashes that they might want to enlighten me with. I'm using PHP. ...
user avatar
2 votes
3 answers
12k views

i want to encrypt the url parameters value like http://www.sitename.com/index.php?userid=12546 into http://www.sitename.com/index.php?userid=SADFFHGFE to prevent the robots to hack the userids which ...
jogesh_pi's user avatar
  • 9,772
6 votes
2 answers
6k views

Just as a fun project I wanted to try and make a simple URL shortener for my own personal use but I wanted to try and incorporate things that I liked from other shorteners like bit.ly and such. So I'...
Paul Young's user avatar
2 votes
3 answers
3k views

I'm working on a project where I need to use some hash function to make a hash string. This hash string should be unique consists of 6 to 13 characters (fixed length). I use a database to store data, ...
Morteza Milani's user avatar
0 votes
1 answer
1k views

I have a normal string : var string = "Hello i'm fine" I want to encode it in a short encoded string. And i want to retrieve the original long string by decoding the short string. Base64 don't ...
totoaussi's user avatar
  • 721
0 votes
2 answers
177 views

I'd like to make shortened links for my site to be used in Tweets. I'm interested in a t.co-like URLs but confused on how to implement the redirect. Here's how a link on my site typically looks: ...
tim peterson's user avatar
  • 24.4k
3 votes
2 answers
105 views

I have the following recorded command packets, 32 byte each: 3da89fc200180010000000000000000024100001240400010000000000000000 d427eb5a00180010000000000000000024100001240300010000000000000000 ...
Sebastian's user avatar
  • 223
1 vote
2 answers
147 views

I found a question about making short codes like TinyURL (https://stackoverflow.com/a/960364/1778465), and I am not sure if what I am doing is working. I have the following test code: <?php $val =...
Get Off My Lawn's user avatar