search for: function_exists

Displaying 2 results from an estimated 2 matches for "function_exists".

2008 Apr 30
1
Avelsieve 1.9.7 and Dovecot/TLS
...the server output in 'get_response' and instead of a script list i saw "IMPLEMENTATION". So i took a look at the file 'managesieve.lib.php' and the STARTTLS code: /* If we allow STARTTLS, use it */ if($this->capabilities['starttls'] === true && function_exists('stream_socket_enable_crypto') === true) { fputs($this->fp,"STARTTLS\r\n"); $starttls_response = $this->line=fgets($this->fp,1024); if(stream_socket_enable_crypto($this->fp, true, STREAM_CRYPTO_METHOD_TLS_CLIENT) == false) { $this-&g...
2005 Apr 04
0
io timeout after 180 seconds
...cp ~ * @type string ~ */ $s_cp = '/bin/cp'; /****** End Config. No need to edit anything else! ******/ // }}} // {{{ readline() /** ~ * Reads a line from standard input. Have to put it up here so php loads it in. ~ * ~ * @access public ~ * @return string The string from input ~ */ if (!function_exists('readline')) { ~ function readline () { ~ $fp = fopen('php://stdin', 'r'); ~ $in = fgets($fp, 4094); // Maximum windows buffer size ~ fclose ($fp); ~ return $in; ~ } } // }}} // {{{ requires require_once 'Console/Getopt.php'; // }...