mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #789] how can multiple clients use the tinyfilemanger at the same time? #539
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mut9bu on GitHub (May 30, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/789
Hello
I want that multiple users can use the same php page at the same time. But User-1 can connect to Rootpath-1, and at the same time User-2 can connect to another Rootpath-2. at the same time . Is that possible? If yes how? I'm new in php, so i couldn't find a solution yet. Would be happy if someone can help.
@prasathmani commented on GitHub (May 31, 2022):
@mut9bu commented on GitHub (May 31, 2022):
Thanks for the answer. Two additional questions:
In order to connect to this remote network paths, I am using the 'net use' command (for User1):
exec('net use "'.$root_path_user1.'" /user:"'.$user_M.'" "'.$password_M.'" /persistent:no');
opendir($root_path_user1);
If I have for each user another $root_path_userX, then I have to query the logged in username and connect then to the related $root_path_userX. How can I query the user that is logged on? Accordingly I want to write:
switch ($logged_user) {
case user1:
$root_path=$root_path_user1
break;
case user2:
$root_path=$root_path_user2
break;
case user3:
$root_path=$root_path_user3
break;
...
exec('net use "'.$root_path.'" /user:"'.$user_M.'" "'.$password_M.'" /persistent:no');
opendir($root_path);
}
@mut9bu commented on GitHub (Jun 4, 2022):
Thanks for the quick support. Tinifilemanager is realy the best web based file manager.