From: Lawrence A. <la...@us...> - 2002-09-04 06:56:18
|
On Tuesday, September 3, 2002, 10:27:13 PM, Joby Walker wrote: JW> Do we want to make a policy on this? $HTTP_SERVER_VARS is deprecated, JW> and thus in the future may be dropped. On the other hand old (unsecure) JW> PHP installations will not support $_SERVER. We really should use one JW> or the other not both. At the moment, we have tried to keep the minimum version of php required as low as possible. I think we specify 4.0.1pl2 (or something like that) as the minimum. JW> Personally, I support using the $_SERVER, $_GET, etc family of JW> superglobals despite some possible breakage of old PHP installations, JW> because it is the preferred way, eventually we will probably have to JW> migrate to it anyway, and it is more elegant. JW> How many installations are on PHP < 4.1.0? A respectable number, I think JW> If this breakage is an JW> issue we can if PHP version is < 4.1.0 set $_SERVER = JW> $HTTP_SERVER_VARS, $_COOKIE = $HTTP_COOKIE_VARS, etc. JW> Or is the consensus to wait to convert until it is necesary? I vote for "If it ain't broke, don't fix it"! Let's wait until we need to change. JW> jbw JW> BTW - Lawrence, why are you limited to < 4.1.0? errr .... haven't got round to upgrading my internal test server yet! |