On 3/8/07, squidliberty <[EMAIL PROTECTED]> wrote: > How should I be handling this? My best solution was to create a > fixSafeChar() function to convert the hyphens back. But this seems > pretty crude.
Thats what I have done as well... However, the problem is usually in the URLs and emails - a better solution is to use a regex for validating. The presumption being if it validates it does not need cleaning ;) Cheers Tarique -- ============================================================= PHP for E-Biz: http://sanisoft.com Cheesecake-Photoblog: http://cheesecake-photoblog.org ============================================================= --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---