|
Posted by jools on 11/22/07 00:19
In article <op.t1516dhu5bnjuv@metallium.lan>, luiheidsgoeroe@hotmail.com
says...
You said you did output some filecontents, not the name of a fil=
> e. =
>
> In this case, there's practically no way the user wil ever be able to =
>
> download the image. An HTML tag is NOT sending the image, it's just =
>
> telling the browser where it can be fetched.
>
> If you need an dynamically created image displayed only once, and not =
>
> saved permanently as a file, point the HTML src attribute to a PHP scrip=
> t, =
>
> possibly with some GET variables, and let that script output an image, =
>
> using the GD or ImageMagick libraries for instance.
> -- =
>
> Rik Wasmus
No Rik thats not correct - my fault - The image is not dynamically
created its a file on the disk that is delete after use. It was the text
file I created.
Consider - these are the cases:
If the link is not relative to the CWD the image is sent fine and deleted
afterwards. Everything works as I want it to. (Except I need the images
elsewhere)
If the image is at a relative location to CWD and the image is deleted
after it should have already been sent (or GET-ed if you like) - it is
never seen.
If it is at that relative location - and NOT deleted it is sent fine.
The only thing that has changed between working and not working is the
image location from . to ../ or any other relative location.
This is why I'm still confused.
thanks
-jools-
[Back to original message]
|