note 100475 added to soapheader.soapheader
| From: | daniuf at gmail dot com | Date: | Mon, 18 Oct 2010 20:20:05 +0000 |
| Subject: | note 100475 added to soapheader.soapheader | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173255@lists.php.net to get a copy of this message | ||
Just for you to know, when trying to get header -using SOAP- input you should do this:
<?
//SOAP Server class constructor
$xml = file_get_contents('php://input');
/*
In $xml you'll have all the XML input and then with a simple Regexp you can get Usr & Pass
when you need to validate a Web Service using SOAP
*/
?>
Hope it helps someone as it helped me :D
----
Server IP: 69.147.83.197
Probable Submitter: 201.216.209.53
----
Manual Page -- http://www.php.net/manual/en/soapheader.soapheader.php
Edit -- https://master.php.net/note/edit/100475
Del: integrated -- https://master.php.net/note/delete/100475/integrated
Del: useless -- https://master.php.net/note/delete/100475/useless
Del: bad code -- https://master.php.net/note/delete/100475/bad+code
Del: spam -- https://master.php.net/note/delete/100475/spam
Del: non-english -- https://master.php.net/note/delete/100475/non-english
Del: in docs -- https://master.php.net/note/delete/100475/in+docs
Del: other reasons-- https://master.php.net/note/delete/100475
Reject -- https://master.php.net/note/reject/100475
Search -- https://master.php.net/manage/user-notes.php