Howdy all,
Was hoping someone might be able to shed some light on this for me.
I am pretty new to the PHP scene and am learning as i go.
What i have so far is a web site, with a section where users can come and "register". When they register, they enter a username, name, and password (which gets inserted into a mysql database). They also get a directory automatically created (based on their username).
The php script puts a few html files in he users directory just as a bit of a welcome and "under construction" kind of thing.
OK....i also have a page that 'authorises' the user with their username and password. If the password is correct it (at the moment) just directs them to a page saying "login successful" if the password is wrong it directs them to a page saying "incorrect login" (quite logically).
The problem i have is that im not too sure of where to go from here.
What id like is for the user to come in and authenticate themselves using the above mentioned web page, at which they would be taken through to an 'admin' section of their web site where they can upload files, edit files etc etc. Possibly even have an FTP service for them to upload in bulk. (i already have the upload scripts working). This admin section needs to be secure in the respect that it needs to verify using the mysql username and password.
To be honest, im not really sure of the best way to "set it up". I was hoping perhaps someone out there could just point out the correct path for me. Im having a great time learning the code, so i dont want to just scab the code off anyone. I wan tto leanr the code myself, but not sure what is the best way to do this.
Any help would be greatly appreciated.
Many thanks
Dave