Enhanced upload2web logic to support web roots different from php document_root