chandler Posted April 17, 2011 Share Posted April 17, 2011 Hello, can someone please advice me on what scripts I will need to accomplish the following. I want users to be able to login to their personal page, on there will be items such as pdf files, jpeg files etc, that they will be able to download. Are there any free scripts out there that can do this, that anyone knows of? I don't mind paying if its a cheapish script for one of you to make for me, but money is a bit tight at the moment so a free script would be my 1st choice... Thanks for all your help Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/ Share on other sites More sharing options...
mr.web_developer Posted April 17, 2011 Share Posted April 17, 2011 Hi Alot of open source are there I advice you to use Joomla easy to deal with http://www.joomla.org Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202505 Share on other sites More sharing options...
chandler Posted April 17, 2011 Author Share Posted April 17, 2011 Thanks for that but I'd rather not use joomla. Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202507 Share on other sites More sharing options...
mr.web_developer Posted April 17, 2011 Share Posted April 17, 2011 There are other CMSs I forgot the names but if you have no problem with using CMSs I can bring some for you best wishes Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202509 Share on other sites More sharing options...
chandler Posted April 17, 2011 Author Share Posted April 17, 2011 A little more in detail. I need a script that serves different content for each user that accesses it. The user_login.php (or whatever) page would work basically like this: if (checklogin()) { $content = readDataFor($userID); print $myheader; print $content; print $myfooter; } else { //redirect user to login script Files ect, will be stored in a user specific directory. I found this bit of code on google and it is exactly what I need to achieve, I am having trouble though finding a complete tutorial, that will show me how to make the login system and with the above included. Many Thanks Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202510 Share on other sites More sharing options...
mr.web_developer Posted April 17, 2011 Share Posted April 17, 2011 I hope this is what you need http://www.youtube.com/watch?v=Kl6XcfkKle4 (part 1) http://www.youtube.com/watch?v=qs7ekhdQ1Co&feature=related (part 2) Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202511 Share on other sites More sharing options...
chandler Posted April 17, 2011 Author Share Posted April 17, 2011 That's just a basic log in / log out tut. But thanks Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202528 Share on other sites More sharing options...
spiderwell Posted April 17, 2011 Share Posted April 17, 2011 but that is what you asked for in your original post, what else do you need from the script? do you then want each user to have their own page? with downloadable items, and if so, how would this operate? you want the users to be able to upload stuff? Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202530 Share on other sites More sharing options...
chandler Posted April 17, 2011 Author Share Posted April 17, 2011 but that is what you asked for in your original post, what else do you need from the script? do you then want each user to have their own page? with downloadable items, and if so, how would this operate? you want the users to be able to upload stuff? I want each user to be able to login to their own personal page where their private content is only accessible to them. I guess this would be done using a specific directory for each user with a index.php in each users directory? No upload. Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202535 Share on other sites More sharing options...
spiderwell Posted April 17, 2011 Share Posted April 17, 2011 I did this for someone on here just the other day. look here the solution is at the end of the post, but its worth reading it all to see the processes we went through to get there. Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202574 Share on other sites More sharing options...
chandler Posted April 17, 2011 Author Share Posted April 17, 2011 Thank you spiderwell, that looks like what I am after, will have a better look in the morning...Many many thanks Quote Link to comment https://forums.phpfreaks.com/topic/233946-advice/#findComment-1202725 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.