Re: Extract result from a https remote server response
| From: | m a r k u s | Date: | Fri, 13 Feb 2009 12:17:51 +0000 |
| Subject: | Re: Extract result from a https remote server response | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288207@lists.php.net to get a copy of this message | ||
Shawn McKenzie wrote:
m a r k u s wrote:The question is how to extract what is displayed to be processed by our script ?Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=toto@toto.com&cust_id=123546&password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process it . An idea ? PS: The server is secured. The php functions like file(), file_get_contents(), readfile(), fopen() has been tested. Regards -- m a r k u sWell, I don't know how you tested, but if fopen_wrappers are enabled in php.ini, then this: echo file_get_contents('https://www.moneybookers.com/app/email_check.pl?email=toto@toto.com&cust_id=123546&password=123'); displays this: Illegal operation Seems to work for me.