Re: .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

Attachment: pgp00041.pgp
Description: PGP signature


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux