Re: Extract result from a https remote server response
| From: | Shawn McKenzie | Date: | Thu, 12 Feb 2009 21:00:29 +0000 |
| Subject: | Re: Extract result from a https remote server response | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288183@lists.php.net to get a copy of this message | ||
m a r k u s wrote:
> 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 s
>
>
>
Well, 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.
--
Thanks!
-Shawn
http://www.spidean.com