one way: $newurl = '?var='.$this->params['controller'].'&var2='.$this- >params['action'].'&var3='.$this->params[0].'&var4='.$this- >params[1].'&var5='.$this->params[2];
On May 9, 1:32 pm, "Erich C. Beyrent" <[EMAIL PROTECTED]> wrote: > I have a vendor that is doing email marketing for me. They allow custom > fields to be specified in their content templates. However, they don't > support full urls as a custom field, only parts of the query string. > > I am sending them a URL like: > > http://servername.com/resorts/view/12/28/4 > > and they need me to break that into: > > http://servername.com/?var=resorts&var2=view&var3=12&var4=28&var5=4 > > Any ideas how to accomplish this? > > -Erich- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---