A bit of a cryptical description, but here goes.

Suppose I use a Cake app. to show the content of different cities,
Normally I would use a city controller dat accepts some parameters
like: domain.com/citys/show/newyork (to show city 1)

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've already read some options of wildcard DNS and stuff like that.
That is all clear to me, except the fact, how to transform the
subdomain into a parameter for a certain page. Also it's important
that the address bar always shows city.domain.com

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to