php qa
By sarav_dude
@sarav_dude (7)
India
November 25, 2009 10:46am CST
When opening a file in writing mode using the FTP handler what must be done so that the file will still be written to the server in the event it previously exists?
Options:
a) Provide a context for fopen() using stream_context_create().
b) You must delete the file first before uploading a new file.
c) Configure this behavior in the php.ini file using the ftp.overwrite directive.
d) Open the file using the 'w+' mode.
No responses