Re: .htaccess
| From: | David T-G | Date: | Mon, 17 Feb 2003 00:39:37 +0000 |
| Subject: | Re: .htaccess | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25680@lists.php.net to get a copy of this message | ||
Matt --
..and then Matt said...
%
% I have a php script that accesses a folder, and displays all the photos
% inside the folder. I want to use this script to display images that people
% upload from the anonymous ftp account. I know that when they upload a photo,
% it goes into the:
%
% /home/username/public_ftp/incoming/ folder
1) Just change your script to point to this directory just like it points
to any other folder.
2) Is the public_ftp/incoming/ folder available to the browser, or is it
outside the DOCUMENT_ROOT tree? If the latter, you will have to serve up
the images yourself rather than relying on <img... tags to simply point
to them.
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!