Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 21:59

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 8. Oct 2007, 22:30 
Offline

Joined: 8. Oct 2007, 22:24
Posts: 4
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


Top
 Profile  
 
 Post subject:
PostPosted: 8. Oct 2007, 23:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 8. Oct 2007, 23:15 
Offline

Joined: 8. Oct 2007, 22:24
Posts: 4
Yes i am useing a mac,

I will try on my pc.

Thanks

Hassan


Top
 Profile  
 
 Post subject:
PostPosted: 8. Oct 2007, 23:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
look in the forum somewhere - there I have posted how you can show this files.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 8. Oct 2007, 23:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
check this thread:

http://tinywebgallery.com/forum/viewtop ... hlight=mac


Top
 Profile  
 
 Post subject:
PostPosted: 8. Oct 2007, 23:57 
Offline

Joined: 8. Oct 2007, 22:24
Posts: 4
Thanks Michael,

All sorted now, fantastic app.

Hassan


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2007, 00:00 
Offline

Joined: 8. Oct 2007, 22:24
Posts: 4
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


Top
 Profile  
 
 Post subject:
PostPosted: 9. Oct 2007, 08:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
sure - implement it. Not very hard to do.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy