On 08.10.2007, at 16:00, Kiril Angov wrote:

> This has worked a charm for me as I want to be able to access both
> production and development at the same time. If there is interest I  
> can
> make this a wiki page or Lukas while you are at it, you can do both?

I will add it tonight.

> Good/Bad?

Well it can be tricky to rely on the host. For one I had a project  
where there were multiple viable hosts for the same installation,  
which is why I introduced a host file to identify the host. However  
there is a bigger concern and that is that $_SERVER is "hackable". I  
never seem to remember which entries are and which are not hackable  
(did anyone ever write up a clear overview of this?).

Actually I think that $_SERVER should be split up in those that are  
determined by if the item is user provided or not. Maybe in PHP6, but  
probably not :(

regards,
Lukas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to