You are here: protecting images from view « All PHP « IT news, forums, messages
protecting images from view

Posted by jaschreiber on 09/28/81 11:42

i'm trying to set up a website where i can post images for only certain

clients to see. so far the whole site works beautifully except the
image protection... visitors must log in to the system and then are
only given access to data and images that pertain to them.

the best system that i can come up with is to store the images outside
of the web directory... but i'm having trouble figuring out how to
access the images again. i've been told that i can do so with fopen or
fread, but so far i haven't been able to get it to work correctly...
instead of an image i just get the words "resource id #5". does anyone
have any advice?

thanks, jason

 

Navigation:

[Reply to this 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

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