note 56337 added to ref.curl
| From: | webmaster at oscontract dot com | Date: | Wed, 31 Aug 2005 05:26:26 +0000 |
| Subject: | note 56337 added to ref.curl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94477@lists.php.net to get a copy of this message | ||
Just an addition to ksavage's script. Iam using HSBC API method of integration.
We may not need those array of xml tags.
We may need to check and fetch values of few strings.
<?
print_r($vals); // print all the arrays.
print_r($vals[29]); // print only the selected array.
//prints something like below.
//Array ( [tag] => ProcReturnMsg [type] => complete [level] => 6 [attributes] => Array (
[DataType] => String ) [value] => Approved )
$val1 = $vals[29];
print_r ($val1[tag]); // ProcReturnMsg
print_r ($val1[value]); //Approved
?>
----
Manual Page -- http://www.php.net/manual/en/ref.curl.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56337
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56337&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56337&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56337&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56337&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56337&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56337&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56337&report=yes
Search -- http://master.php.net/manage/user-notes.php