FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: reading a newline from a properties file
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Re: reading a newline from a properties file [message #177975] Wed, 09 May 2012 11:21
taltene is currently offline  taltene
Messages: 3
Registered: May 2012
Karma: 0
Junior Member
Thanks!
I tried to use your code.
But it still no good for me.
This is the input:

------------------------------------------------------------

_resp_chargingIdx=<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:al="http://www.alcatel-lucent.com/soap_cm" xmlns:gd=" http://www.3gpp.org/ftp/Specs/archive/32_series/32317/schema/32317-700/Gene ricIRPData" xmlns:bs=" http://www.3gpp.org/ftp/Specs/archive/32_series/32607/schema/32607-700/Basi cCMIRPSystem" xmlns:bd=" http://www.3gpp.org/ftp/Specs/archive/32_series/32607/schema/32607-700/Basi cCMIRPData">
..<SOAP-ENV:Body>
...<bd:createMOResponse>
....<mO>
.....<moiLocation> imsServiceProfileId=1,suMSubscriptionProfileId=1,suMSubscriberProfileId=+14 716000005_at,subscriptionFunctionId=1,managedElementId=HSS1 </moiLocation>
....</mO>
...</bd:createMOResponse>
..</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

------------------------------------------------------------
and this is what print_r($pros) retruns:
------------------------------------------------------------

[_resp_chargingIdx] => <?xml version=\"1.0\" encoding=\"UTF-8\"?>
[<SOAP-ENV:Envelope xmlns:SOAP-ENV] => \"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:al=\"http://www.alcatel-lucent.com/soap_cm\" xmlns:gd=\" http://www.3gpp.org/ftp/Specs/archive/32_series/32317/schema/32317-700/Gene ricIRPData\" xmlns:bs=\" http://www.3gpp.org/ftp/Specs/archive/32_series/32607/schema/32607-700/Basi cCMIRPSystem\" xmlns:bd=\" http://www.3gpp.org/ftp/Specs/archive/32_series/32607/schema/32607-700/Basi cCMIRPData\">
[....<moiLocation>imsServiceProfileId] => 1,suMSubscriptionProfileId=1,suMSubscriberProfileId=+14716000005_at,subscri ptionFunctionId=1,managedElementId=HSS1 </moiLocation>
-------------------------------------

and of course the only key is _resp_chargingIdx...

any help will be appreciated.
Thanks!!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Transforming object properties?
Next Topic: Re: Windows binaries 64bit for PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:16:25 GMT 2024

Total time taken to generate the page: 0.02663 seconds