XXXconanXXX
Cocktails anyone?
- Reaction score
- 284
Okay, so here's the situation:
I have an image which I dynamically upload to from a Java servlet. I have a PHP script that uses mkdir() to make a directory on the site, which the servlet uploads the photos to. They upload fine, but when I go to view them on the site, they don't show? I can't view the file folder from a browser which is ideal, but either way I need to be able to view them from the site so the user can view the photos.
I've tried changing read/write permissions for the top-level directory from my server's cPanel, but still no go.
Any ideas? I hear the mkdir() permissions are ignored on Windows platforms, what does that mean? It's fine if the user can view the photo directory and download the images, but no matter how I tinker with the permissions server-side or in the script they're still unviewable. I tried even making the site directory read-only to everyone, and still no go.
I have an image which I dynamically upload to from a Java servlet. I have a PHP script that uses mkdir() to make a directory on the site, which the servlet uploads the photos to. They upload fine, but when I go to view them on the site, they don't show? I can't view the file folder from a browser which is ideal, but either way I need to be able to view them from the site so the user can view the photos.
I've tried changing read/write permissions for the top-level directory from my server's cPanel, but still no go.
Any ideas? I hear the mkdir() permissions are ignored on Windows platforms, what does that mean? It's fine if the user can view the photo directory and download the images, but no matter how I tinker with the permissions server-side or in the script they're still unviewable. I tried even making the site directory read-only to everyone, and still no go.