Hi,

I think something like this is more than likely the best solution  
here for images.

Sincerely,
Mike
-- 
Mike Brandonisio          *    Web Hosting
Tech One Illustration     *    Internet Marketing
tel (630) 759-9283        *    e-Commerce
[EMAIL PROTECTED]    *    http://www.jikometrix.net

     JIKOmetrix - Reliable web hosting


On Jun 28, 2006, at 2:37 AM, Phill Sparks wrote:

> Hi
>
> If you leave images in an images folder and simply put an index.html
> in the folder there's nothing stopping a member from getting the link
> to the image (right click and copy image address, or similar) and
> pasting that to a friend or anywhere else on the internet.
>
> The best method IMO is to use a htaccess file to redirect all requests
> through a simple php script, and store the images outside of the
> public_html folder, or in an obsficated place (e.g., /data26217/).
> After this you can use something like a http download class (see
> http://www.phpclasses.org/browse/package/2221.html) to send the files
> to the viewer.  Wrap this with some simple session checking and that
> should do the trick! :)
>
> Phill
>
> On 28/06/06, Mike Brandonisio <[EMAIL PROTECTED]> wrote:
>>
>>  1) you can store image files outside of the public root and use php
>>  to display them.
>>
>>  5) use htacess on the image folder and use php to authenticate  
>> users.
>>
>>  Anyone else have suggestions.
>>
>>  Sincerely,
>>  Mike
>
>   ----------
>
> RewriteEngine On
> RewriteBase /path/to/site/
>
> RewriteRule ^images/(.*) /images.php [QSA,L]
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to