I’m new to DreamHost and have a web site set up to allow users to upload images and store them to be viewed later.
I currently create a directory from my PHP scripts to put the images for a user in, then put their images in that directory. However, it doesn’t look like I can do that on DreamHost. I have the site working locally and it used to work on my old hosting service. Now the directories just don’t appear.
I’ve tried changing file permissions as well, with no success.
If there’s a way to do this on DreamHost, please let me know.
Also, the bigger issue might be that I have a flawed approach to storing and displaying uploaded files. If there’s a better approach, please let me know. I could put the image data in a database entry, but how do I display it after, especially if I can’t move the data to a file?