Reply to Re: [PHP] Accessing photos outside the web folder

Your name:

Reply:


Posted by Dave Carrera on 12/15/05 09:09

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация