Hi,
I am trying to do something like this:
<img src="image.php?image=1">

The code is like this:

<script language="php">
$szPicture = "myimage.gif";

$url = "http://www.mysite.com/"; . $szPicture;
header("Content-type: image/gif");
header("Content-Length: " . strlen($url));
echo $url;
</script>

But nothing happens, I just get the broken image.
My logs show nothing about a script failure or about a file not being found.
I tried without the header("Content-Length: " . strlen($url)); but no diff.

Thanks for any help.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to