Client Login
<b>The Process</b>
A user registers and provides a firstname and lastname.
A folder is created with that user's name: id_firstname_lastname
The PDF files will be uploaded to the folder "id_firstname_lastname" by the laboratory via an FTP client.
The clients will be able to log in and have access to the files in their "id_firstname_lastname" folder.
<b>Functionality</b>
So the clients will have access to their own laboratory tests via a username/password login <b>(this is already created)</b>.
These tests are in the form of PDF files uploaded to their respective folders that are labeled by their name. The contents of the folder (pdf files) will display as listed links when the clients log in. <b>(You will be programming this portion)</b>
So every time a user registers, a folder will be created on the server, where the files are uploaded by the laboratory.
<b>(You will be programming this portion)</b>
The Laboratory will have access to all the files/folders. They will upload the PDF files to the folders via an FTP client
<b>(they do not need a login system either)</b>.
You're going to have to write something a runonce script that generates folders for users/clients who don't already have folders as well.
<b>(You will be programming this portion)</b>