
May 17th, 2000, 10:08 PM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 32
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
My scenario is that I am trying to put an image on a page using php not on my server, that does not have php. I am using the tag <img src=http://myserver.com/asdf.php3> and asdf will a) read an image b) set a header("Content-type: image/gif") and c) echo the image. That works fine.
The problem is that I also wanted to include a link based on the image (ie - dynamic, involving php). After I set the header, regular tags are ignored and I can't echo anything before a header, nor can I set a different header.
SO my question is, does anyone know a workaround to this problem: like displaying an image on a non-server page, without setting a header, or a way to dynamical reference something? Any help is greatly appreciated and if you think you might be able to help, but don't understand my situation or need clarification, contact me.
PS - If it can't be done with PHP, can it be done with any other language anyone knows of?
|