BoSc <[EMAIL PROTECTED]> wrote: > What I would like is to use a subdomain to indicate which city to > show: newyork.domain.com/city/show (to show city new york)
I think you should be able to read $_SERVER['HTTP_HOST'] from anywhere inside Cake, even the config if you want. Hope that helps, -- MJ Ray <[EMAIL PROTECTED]> www.ttllp.co.uk +44(0)8444 437 237 Webmaster since 1995, developer, statistician, writer, more. Registered in England and Wales, partnership number OC303457 Reg. Office: 36 Orchard Cl., Kewstoke, Somerset, GB-BS22 9XY --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---