RE: [PHP] Getting an uploaded picture
| From: | Jay Blanchard | Date: | Wed, 12 Nov 2003 20:33:39 +0000 |
| Subject: | RE: [PHP] Getting an uploaded picture | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169360@lists.php.net to get a copy of this message | ||
[snip]
> Is the directory where you placed the pics web accessible? Sounds like
> you placed them outside of the web root
Actually, it is accessible and the directory is chmod'd to 777 (though
thr
pictures themselves are 644).
I should mention I did build the system to upload zip'd files, but
changed
it to jpegs due to further considerations. When zip files were sent up,
everything was fine. Guess it would be interesting to see if they still
work......
[/snip]
Code please. It should work, for instance
<a href="thisIsMyImage.jpg">Click for image</a>