p.s. no, this is not the same bob and jane from the enzyte commercial
strange session accessing folders/files
Moderator: General Moderators
strange session accessing folders/files
ok....say if i have a user whose name is bob and another named jane and when they go to the page after they log in their are links that based on their username will take them to a specific folder to pull up a personal file....can this be done? how? im assuming some wierd/cool lookin sql statement any ideas anyone?
p.s. no, this is not the same bob and jane from the enzyte commercial
...maybe 
p.s. no, this is not the same bob and jane from the enzyte commercial
- akimm
- Forum Contributor
- Posts: 460
- Joined: Thu Apr 27, 2006 10:50 am
- Location: Ypsilanti Michigan, formally Clipsburgh
Wel, lets first figure out what sort of traffic for this application are we expecting? If its only for a few people a text file validation of $_POST['name'] and 'pass' would be very sufficient. Not the best code, but for my log in needs it does the trick, however, use sessions in that, because, session validation will keep people from viewing others material.
sessions are what im in the process of learning and creating now....unfortunately my boss is wanting to use this project for our independent sales contractors and its like 20+ of them....what it needs to do is allow them access to a file that would reflect their sales for the month...what im thinking is that in addition to using sessions i would have to make links that would send a specific user to that folder based on his username....how can i do that?