Yeah, we were just doing basically the same thing for a different project,
and I thought of it just after I sent my email saying I didn't know how they
did it. I need a nap after lunch.

-Kevin

> -----Original Message-----
> From: Paris Lundis [mailto:PLundis@;areaindex.com]
> Sent: Tuesday, October 29, 2002 12:52 PM
> To: CF-Talk
> Subject: RE: Shorter urls?
>
>
> simple:
>
> 1. person submits link via form to make shorter...
>
> 2. you insert data into database
>
> 3. when inserting one field called maybe "unique" is a random generated
> alpha numberic string... randomize and compare to existing data to make
> sure no dupe exists already...
>
> 4. write the long URL and the unique string...
>
> 5. pass the shorter back to the user.. but first:
>
>  A. create an index handler that shows form if no string found
> otherwise looks up table entries to find match ... pauses, displays
> notice and then pushes them out...
>
> that's how I plan on implementing mine when I find a few hours :)
>
> -paris
>
>
> Paris Lundis
> Founder
> Areaindex, L.L.C.
> http://www.areaindex.com
> http://www.pubcrawler.com
> 412-292-3135
> [finding the future in the past, passing the future in the present]
> [connecting people, places and things]
>
>
> -----Original Message-----
> From: Kevin Graeme <[EMAIL PROTECTED]>
> Date: Tue, 29 Oct 2002 12:42:58 -0600
> Subject: RE: Shorter urls?
>
> > http://www.makeashorterlink.com is where you've probably seen it
> > done. I'm
> > not sure how they do it either though.
> >
> > -Kevin Graeme
> >
> > > -----Original Message-----
> > > From: Ian Lurie [mailto:ian@;portentinteractive.com]
> > > Sent: Tuesday, October 29, 2002 12:27 PM
> > > To: CF-Talk
> > > Subject: Shorter urls?
> > >
> > >
> > > Hi all,
> > >
> > > I've searched the devcenter, google, etc. but can't seem to find
> > any
> > > discussion of how to generate shorter URL strings. I want to take:
> > >
> > > http://www.site.com?action=blah&brand=1&name=blahblah&;....
> > >
> > > And convert it to
> > >
> > > http://www.site.com/asdfwer234123
> > >
> > > I've seen it done but just can't remember where. Can someone send
> > > me a url?
> > >
> > > Thanks in advance,
> > >
> > > Ian
> > > --
> > > Portent Interactive
> > > Effective web sites through Conversation Marketing 
> > > http://www.portentinteractive.com
> > >
> > >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to