Re: Accessing photos outside the web folder

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

 



Philip Hallstrom wrote:

I'm writing a content management application which saves file paths in a database and allows users to search the database for those files. Problem I'm having is that although the PHP script that handles the database queries works fine, when the search results get to the browser, all the paths are off limits.

I can't just move the photos inside the web folder as we're talking tens of thousands of images that are already organized into a folder structure that must be maintained as is.

Is there a way to allow the web page to see these photos?

The images are stored on a Windows box and all the web server stuff is on a G5 Macintosh running OS 10.4 3 (in case that has any bearing on the matter).

Hi Philip,

Can you make a mac accessable share to your windows organized photo directory ?

http://www.apple.com/macosx/features/windows/

if so and if your using apache this link might help

http://httpd.apache.org/docs/2.0/urlmapping.html

That may or may not help, but please read any relevant security papers for both mac and windows on this.

Dave C

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux