and dont forget

www.antiwrap.com

i might even get around to writing a web service for it
so that you can post a url, and get back an "anti-wrap" url

tony

On 5/19/05, Michael Bramwell <[EMAIL PROTECTED]> wrote:
> You can try something like this
> 
> http://www.ibc.com.au/fwd/l.cfm?lID=invest20050509
> 
> which points to this code in l.cfm
> 
> <cfparam name="lID" default="">
> <cfscript>
>     links = StructNew();
>     StructInsert(links, "emailPrivacy20050509",
>     "http://asia.tech.yahoo.com/050504/afp/050504082225aht.html";);
> </cfscript>
> 
> <cfif lID eq "all">
>      <cfset keyArray = StructKeyArray(links)>
> 
>      <table cellpadding=0 cellspacing=0 border=0>
>          <cfloop from="1" to="#arraylen(keyArray)#" index="i">
>               <tr>
>                <cfoutput>
>                    <td>#keyArray[i]#&nbsp;</td>
>                    <td>#links[keyArray[i]]#</td>
>                </cfoutput>
>               </tr>
>          </cfloop>
>      </table>
> 
> <cfelseif lID neq "">
>       <cfif StructKeyExists(links, lID)>
>               <cflocation url="#links[lID]#">
>         <cfelse>
>               <cflocation url="http://www.ibc.com.au/fwdFailed.asp";>
>          </cfif>
> <cfelse>
>      <cflocation url="http://www.ibc.com.au/fwdFailed.asp";>
> </cfif>
> 
> ----- Original Message -----
> From: "Jim McAtee" <[EMAIL PROTECTED]>
> To: "CF-Talk" <cf-talk@houseoffusion.com>
> Sent: Friday, May 20, 2005 8:44 AM
> Subject: Re: Short URL / URL redirection
> 
> 
> > It's easily done, but I'm not sure why using application.cfm is necessary.
> > Why not do both the db lookup and server side redirect in one CF file?
> >
> >
> > ----- Original Message -----
> > From: "Robert Munn" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <cf-talk@houseoffusion.com>
> > Sent: Thursday, May 19, 2005 5:02 PM
> > Subject: RE: Short URL / URL redirection
> >
> >
> > > tinyurl is great for posting on forums and the like, but I don't think I
> > > would use it for commercial purposes.
> > >
> > > I'm not sure the way their system works, but it seems like it would be
> > > easy to make a  URL-forwarding system using nothing but application.cfm
> > > and index.cfm. application.cfm would contain a lookup system that would
> > > intercept the incoming url and look it up against a database of
> > > short-to-long url conversions. index.cfm would do a server-side
> > > re-direct to the long url. simple.
> > >
> > >>http://tinyurl.com/
> > >>
> > >>-----Original Message-----
> > >>From: Mark Leder [mailto:[EMAIL PROTECTED]
> > >>Sent: May 19, 2005 14:07
> > >>To: CF-Talk
> > >>Subject: Short URL / URL redirection
> > >>
> > >>
> > >>Hi all,
> > >>
> > >>I'm wanting to figure out how to take a long CF URL and convert to a
> > >>short
> > >>URL for use in emails, etc.  Any methods, best practices, etc.  I really
> > >>don't know where to start.
> > >>
> > >>Thanks,
> > >>Mark
> > >
> > >
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207238
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to