PHP 8.5.0 Alpha 1 available for testing

Voting

: min(nine, four)?
(Example: nine)

The Note You're Voting On

Saeven
21 years ago
if you examine the first user submitted function, ftp_putAll, it will work only if you extract this line and its matching bracket.

if (!@ftp_chdir($conn_id, $dst_dir."/".$file))

The function will have changed into that directory before having uploaded files to it. This alters your upload path and the system will try to upload into an essentially non-existent directory (duped at the end).

Hope this helps some of you.
Cheers.
Saeven

<< Back to user notes page

To Top