Jump to content


Photo

permission denied


  • This topic is locked This topic is locked
2 replies to this topic

#1 Guest(old)

Guest(old)

    Junior Member

  • Members
  • 312 posts

Posted 02 December 2002 - 07:47 AM

I am trying to set up an IPN system but having difficulties, I think the problem is opening a socket to paypal. When I upload the following code and go to the URL I get the message 'Unable to establish socket with paypal Permission denied (13)'. Any ideas ?

$fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30);
$err_msg = "";
if (!$fp)
{
$err_msg = "Unable to establish socket with paypal $errstr($errno)";
echo "$err_msg";
}
else
{
$err_msg = "established socket with paypal $errstr ($errno)";
echo "$err_msg";
}
?>

#2 PayPalKenny

PayPalKenny

    Member

  • Members
  • PipPip
  • 20 posts

Posted 31 December 2002 - 09:05 AM

Make sure that the permissions are set to at least 755 on your files.

Kenny
PayPal Tech Support Professional

#3 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 31 December 2002 - 10:36 AM

http://www.dotwidget.com/index.php/110

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users