Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$upload_path = **'./uploads'/**; // The place the files will be uploaded to
ログインユーザー名でアップロードパス(corrent:uploads)を変更したい。
このようなことを試しましたか?
$user = "admin"; //or whatever $upload_path = "/uploads/" . $user;
私はあなたの質問を本当に理解していませんでしたが、ここに例があります
$upload_path = './' . ($logged_in ? $username : 'uploads') . '/';