--- Victor <[EMAIL PROTECTED]> wrote: > <img src="createjpg.php?id=xyz"> ... > The problem is that since the file createjpg.php is'nt > loaded in the browser as and ordinary file, it doesnt > recognizes the session variable.
When a browser requests an image, the request is identical to a request for any other resource, be it a .html file or a .php script. It will send cookies, URL variables (if they are in the src attribute as your example shows), and anything else that a normal request includes. Instead of trying to tell us what the problem is, just explain what trouble you are having. We can then tell *you* what the problem is. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php