Lines Matching refs:k
306 foreach($headers as $k=>$v){
307 $k = strtolower($k);
308 $this->headers[$k] = $v;
309 $this->request .= "$k: $v\r\n";
310 $this->debug("$k: $v");
330 foreach ($_SERVER as $k => $v) {
331 if (substr($k, 0, 5) == 'HTTP_') {
332 $k = str_replace(' ', '-', strtolower(str_replace('_', ' ', substr($k, 5))));
334 $k = str_replace(' ', '-', strtolower(str_replace('_', ' ', $k)));
336 if ($k == 'soapaction') {
338 $k = 'SOAPAction';
342 } else if ($k == 'content-type') {
358 $this->headers[$k] = $v;
359 $this->request .= "$k: $v\r\n";
360 $this->debug("$k: $v");
364 foreach ($HTTP_SERVER_VARS as $k => $v) {
365 if (substr($k, 0, 5) == 'HTTP_') {
366 …$k = str_replace(' ', '-', strtolower(str_replace('_', ' ', substr($k, 5)))); …
368 …$k = str_replace(' ', '-', strtolower(str_replace('_', ' ', $k))); …
370 if ($k == 'soapaction') {
372 $k = 'SOAPAction';
376 } else if ($k == 'content-type') {
392 $this->headers[$k] = $v;
393 $this->request .= "$k: $v\r\n";
394 $this->debug("$k: $v");