Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 3
Subject:   phpost pop connection fails
Date:   2002-03-01 19:42:31
From:   dicklacara
phpost installs OK, but login fails in the following code segment in phpost.php.


$sockel has no value after the fsockopen
$errno is 61
$errstr is Connection refused


Code Segment
---------------------
// Open connection
$socket = fsockopen( $h, $p, $errno, $errstr, 15 );
if( ! $socket )
{
$errstr = "Connection refused (" . $prefs["pop"] . ")";
return false;
}