Dan Trainor <[EMAIL PROTECTED]> writes:

> Hello, all -
> 
> This is a question that could depend on a completely different (yet,
> relayed) subject, so I'm sending this email to both php-general@ and
> [EMAIL PROTECTED]  I thank you in advance for your understanding.
> 
> I am currently generating some images on the fly using some of PHP's
> image generation and rendering functions.  I'm having loads of
> success, and like the results that I see.
> 
> What I'd like this script to do is, to create symlinks to the
> origional image, and then when the script is done running, the
> symlinks are deleted.  Basically trying to make it so that the
> origional image is not known to the client or browser.

In your page where you display the image, put in the tag <img
src='imgenerator.php'>, where imagenerator.php is your script which
creates the images. You can add tests in your imagenerator.php script to
make sure that the user has some session variables set and the user is
not calling the imgenerator directly.  That way you will not have to
worry about the browser knowing about the original image.  However, the
user will still be able to save the image to his hard disk.

--
Raj Shekhar
blog : http://rajshekhar.net/blog  home : http://rajshekhar.net
Disclaimer : http://rajshekhar.net/disclaimer

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

Reply via email to