PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
basudeb
Forum Commoner
Posts: 44 Joined: Wed Dec 20, 2006 12:13 am
Post
by basudeb » Mon Feb 05, 2007 5:19 am
I need a code for making short URL form a long url.
louie35
Forum Contributor
Posts: 144 Joined: Fri Jan 26, 2007 8:40 am
Location: Dublin
Contact:
Post
by louie35 » Mon Feb 05, 2007 5:20 am
look into mode rewrite and .htaccess
CoderGoblin
DevNet Resident
Posts: 1425 Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany
Post
by CoderGoblin » Mon Feb 05, 2007 6:06 am
Can you give us some examples ?
louie35
Forum Contributor
Posts: 144 Joined: Fri Jan 26, 2007 8:40 am
Location: Dublin
Contact:
Post
by louie35 » Mon Feb 05, 2007 6:18 am
mickd
Forum Contributor
Posts: 397 Joined: Tue Jun 21, 2005 9:05 am
Location: Australia
Post
by mickd » Mon Feb 05, 2007 6:21 am
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.
CoderGoblin
DevNet Resident
Posts: 1425 Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany
Post
by CoderGoblin » Mon Feb 05, 2007 6:29 am
Indeed mickd, An example of the long url and what it should be converted into would be useful.
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Mon Feb 05, 2007 6:52 am
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.