Page 1 of 1

Tiny url code

Posted: Mon Feb 05, 2007 5:19 am
by basudeb
I need a code for making short URL form a long url.

Posted: Mon Feb 05, 2007 5:20 am
by louie35
look into mode rewrite and .htaccess

Posted: Mon Feb 05, 2007 6:06 am
by CoderGoblin
Can you give us some examples ?

Posted: Mon Feb 05, 2007 6:18 am
by louie35

Posted: Mon Feb 05, 2007 6:21 am
by mickd
I'm pretty sure CoderGoblin was refering to basudeb for some examples because i was about to post the same thing until CoderGoblin beat me (i posted then deleted my post) although i might be wrong.

Either way, it should be helpful to post the cheatsheet.

Posted: Mon Feb 05, 2007 6:29 am
by CoderGoblin
Indeed mickd, An example of the long url and what it should be converted into would be useful.

Posted: Mon Feb 05, 2007 6:52 am
by m3mn0n
:google:

The proper forum for this is here. You will find many examples if you look at topics titled "mod rewrite"

Since this isn't particularily about a PHP problem, this should not be in the PHP Code forum.

Topic locked.