Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Loging in and individual folders https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=1229 |
Page 1 of 1 |
Author: | hassan1404 [ 8. Oct 2007, 22:30 ] |
Post subject: | Loging in and individual folders |
Hi all, I installed the TWG Flash uploader and it works fine if $login is left blank, however i would like to do the folowing: Set a username and password for individual users. Only allow uploads to a single folder based on the username and password. I have looked in the config.php file and it referes to a .htuser.php file but i could not find that file in the folder. Can anyone help? My php is not all that, im mainly using cfml. Thanks in advance Hassan |
Author: | TinyWebGallery [ 8. Oct 2007, 23:10 ] |
Post subject: | |
are you using a mac - then this file is hidden! in this file you can define users and folder for them - exactly what you want /Michael |
Author: | hassan1404 [ 8. Oct 2007, 23:15 ] |
Post subject: | |
Yes i am useing a mac, I will try on my pc. Thanks Hassan |
Author: | TinyWebGallery [ 8. Oct 2007, 23:21 ] |
Post subject: | |
look in the forum somewhere - there I have posted how you can show this files. /Michael |
Author: | TinyWebGallery [ 8. Oct 2007, 23:30 ] |
Post subject: | |
check this thread: http://tinywebgallery.com/forum/viewtop ... hlight=mac |
Author: | hassan1404 [ 8. Oct 2007, 23:57 ] |
Post subject: | |
Thanks Michael, All sorted now, fantastic app. Hassan |
Author: | hassan1404 [ 9. Oct 2007, 00:00 ] |
Post subject: | |
Just a quick thought, can i set the .htuser.php file to check the users details from a db table? and if so how. The table i have is [users] coloumns [username] [password] [folder] many thanks |
Author: | TinyWebGallery [ 9. Oct 2007, 08:46 ] |
Post subject: | |
sure - implement it. Not very hard to do. /Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |