RE: [PHP] getallheaders() in PHP 4.2.3

From: Date: Wed, 16 Jul 2003 10:25:10 +0000
Subject: RE: [PHP] getallheaders() in PHP 4.2.3
Groups: php.general 
Request: Send a blank email to php-general+get-155389@lists.php.net to get a copy of this message
> -----Original Message----- > From: Neil Freeman [mailto:neil.freeman@asa.co.uk] > Sent: 16 July 2003 10:40 > > I believe getallheaders() has been supported since v4.0.0 > > Ananth Kesari wrote: > > > *********************************************** > > This Email Has Been Virus Swept > > *********************************************** > > > > Hi, > > > > For some reason, getallheaders() is not working with the > NetWare port > > of PHP 4.2.3 even while we have not modified the related code for > > NetWare as such. So, I am just wondering if getallheaders() is > > implemented for PHP 4.2.3? The document doesn't mention > from which PHP > > version this supported. But it does mention that in PHP > 4.3.0 and above, > > getallheaders() is aliased to apache_request_headers(). From http://www.php.net/getallheaders: "Note: In PHP 4.3.0, getallheaders() became an alias for apache_request_headers(). Essentially, it was renamed. This is because this function only works when PHP is compiled as an Apache Module." Does your Netware port run as an Apache module? Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#155389) next »