Hi,
this is important news from php.net for upgrade to PHP v5.25 (if use PHP > 4 and PHP < 5.25) . This is fix include and problem big on forum for move upload file:
# Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK. (Andrew Sitnikov)
Jan is use
umask with 4images for file transfer.
[edit] - $script_url is include with problem for 4images:
Fixed bug #42523 (PHP_SELF duplicates path)
Upgrade to PHP v5.25 is fix problem.