hi all,
been playing with this problem for a while (for my bro's site so in the week work comes first)
i'm setting up a little thing in php for my bro so he can upload images and write little news items... lots of the family live in different countirs so he just wants me to write him a little secure personal network thingy
i've written most of the php and using session variables to secure the pages, its good for what we want.
but i'm also writing a little upload file page so he can put his images up in the same area without having to log into the server etc..
right, i want to have the folder a little secure, so timages in the foilder cannot be viewed by someone typing in the url to the photo... so after looking into folder security and having folder outside (which i can't with this hosting) i was hoping to understand a little of .htaccess, how to create, how to set access.. and how to allow my code into it to display the pics...
have been looking into this on the web but get completely baffled...
just need some pointers to get this one on the way... each member of the family will have their own user and password to sign in but if i can just make sure that theres a valid session i don't mind using a specific user/pass to get into the folder as i'll store this info out of the way anyway
any help would be greatly appreciated
thanks
daveJam
even my shrink says its all your f#@/ing fault
been playing with this problem for a while (for my bro's site so in the week work comes first)
i'm setting up a little thing in php for my bro so he can upload images and write little news items... lots of the family live in different countirs so he just wants me to write him a little secure personal network thingy
i've written most of the php and using session variables to secure the pages, its good for what we want.
but i'm also writing a little upload file page so he can put his images up in the same area without having to log into the server etc..
right, i want to have the folder a little secure, so timages in the foilder cannot be viewed by someone typing in the url to the photo... so after looking into folder security and having folder outside (which i can't with this hosting) i was hoping to understand a little of .htaccess, how to create, how to set access.. and how to allow my code into it to display the pics...
have been looking into this on the web but get completely baffled...
just need some pointers to get this one on the way... each member of the family will have their own user and password to sign in but if i can just make sure that theres a valid session i don't mind using a specific user/pass to get into the folder as i'll store this info out of the way anyway
any help would be greatly appreciated
thanks
daveJam
even my shrink says its all your f#@/ing fault