I'm using a PHP script to check for a PayPal Instant Payment Notification (IPN) and my hosting provider (1&1) doesn't allow the use of fsockopen() and pfsockopen(), but they do let you use fopen(). Here's the fsockopen code:
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
I have tried other methods, such as putting in a replacement php.ini file, but they haven't worked. My question is how you would convert this statement to use fopen, giving the same result, e.g.
$fp = fopen(...);
Thanks!