On Mon, Dec 17, 2001 at 10:28:36AM -0000, [EMAIL PROTECTED] wrote : 
>                 return NULL;
>         }
> +        if (strcmp(mode, "r") &&  strcmp(mode, "w")) {
> +               php_error(E_WARNING, "Invalid mode : ftp can only access files in 
>(r)ead or (w)rite mode");

    Generally I'm always for exposring the context of the current
    function with get_active_functin_name(); just like Andrei
    does it with zend_parse_parameters; "%s() ...",
    get_active_blabla.

    - Markus

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to