Get secure xml data using php?
-
Hi, i need to retrieve this data using php: https://secure.mollie.nl/xml/ideal?a=banklist&testmode=true How do i approach this?
-
Answer:
If your problem is te XML, you can use the solution showed at http://php.net/manual/en/class.simplexmliterator.php (it is a function that even transforms the data into an array) If the problem is that the XML is secure (HTTPS) then you have to use cURL : $url='https://secure.mollie.nl/xml/ide… $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Next line configures cURL to accept any server(peer) certificate. // This isn’t optimal from a security point of view curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch);
Ilyakar at Yahoo! Answers Visit the source
Related Q & A:
- How To Build Business Directory Using Php Mysql?Best solution by Stack Overflow
- How to add inline xml schema using jaxb?Best solution by bighow.org
- how delete node in xml file using php?Best solution by Stack Overflow
- How to store data in php and get data from php?Best solution by Stack Overflow
- how to parse a xml file using jquery and phonegap?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.