# mcal_popen

(PHP 4)

mcal_popen — Opens up a persistent MCAL connection

### Description

int mcal_popen ( string `$calendar` , string `$username` , string `$password` [, int `$options` ] )

Returns an MCAL stream on success, `FALSE` on error.

mcal_popen() opens up an MCAL connection to the specified `calendar` store. If the optional `options` is specified, passes the `options` to that mailbox also. The streams internal event structure is also initialized upon connection.