ID: 12004
Updated by: alan_k
Reported By: [EMAIL PROTECTED]
Old Summary: problem with fopen over ftp and a related fgets
Status: Analyzed
Bug Type: *Directory/Filesystem functions
Operating System: linux
PHP Version: 4.0.5
New Comment:
The following patch will issue a warning for trying to open
On Mon, Dec 17, 2001 at 10:28:36AM -, [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
The whole file needs a bit of an overhall for that :)
Markus Fischer wrote:
On Mon, Dec 17, 2001 at 10:28:36AM -, [EMAIL PROTECTED] wrote :
return NULL;
}
+if (strcmp(mode, r) strcmp(mode, w)) {
+ php_error(E_WARNING, Invalid mode : ftp can
On Mon, Dec 17, 2001 at 07:08:34PM +0800, Alan Knowles wrote :
The whole file needs a bit of an overhall for that :)
As most code does. But why not starting with it right away?
Markus Fischer wrote:
On Mon, Dec 17, 2001 at 10:28:36AM -, [EMAIL PROTECTED] wrote :
On Mon, Dec 17, 2001 at 07:18:17PM +0800, Alan Knowles wrote :
Markus Fischer wrote:
On Mon, Dec 17, 2001 at 07:08:34PM +0800, Alan Knowles wrote :
The whole file needs a bit of an overhall for that :)
As most code does. But why not starting with it right away?
Bit like this?