php-developer-list | 2001122
Date: 12/17/01
- Next message: Alan Knowles: "Re: [PHP-DEV] Re: Notification of absence."
- Previous message: Jani Taskinen: "Re: [PHP-DEV] Re: Notification of absence."
- In reply to: Markus Fischer: "Re: [PHP-DEV] Bug #12004 Updated: fopen of url results in invlaid file handle"
- Next in thread: Markus Fischer: "Re: [PHP-DEV] Bug #12004 Updated: fopen of url results in invlaid file handle"
- Reply: Markus Fischer: "Re: [PHP-DEV] Bug #12004 Updated: fopen of url results in invlaid file handle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The whole file needs a bit of an overhall for that :)
Markus Fischer wrote:
>On Mon, Dec 17, 2001 at 10:28:36AM -0000, alan_k <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
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Alan Knowles: "Re: [PHP-DEV] Re: Notification of absence."
- Previous message: Jani Taskinen: "Re: [PHP-DEV] Re: Notification of absence."
- In reply to: Markus Fischer: "Re: [PHP-DEV] Bug #12004 Updated: fopen of url results in invlaid file handle"
- Next in thread: Markus Fischer: "Re: [PHP-DEV] Bug #12004 Updated: fopen of url results in invlaid file handle"
- Reply: Markus Fischer: "Re: [PHP-DEV] Bug #12004 Updated: fopen of url results in invlaid file handle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

