I would be very grateful if anyone could answer this query, I imagine it's a common issue.
I am developing a site where customers will upload images having previously registered and logged-in. I imagined these would be stored (in thumbnail form) outside the root so one user could not see the images of another user.
But what I want to happen is for a php page to list all the images in a user's directory and then show them as a gallery so the user can select them etc.
Obviously this doesn't work using code of the form
Code: Select all
echo"<img src=\"" . ALL_FRAME_TEMPLATES . "$the_file \"" . "align=\"left\" /></a>"; What is the clever way to do this? Thanks in advance.