Hi ! need to do this (php) in asp :
header ("Content-type: image/jpeg");
$f = fopen("http://localhost/asp/rossend.jpg", "r");
while(!feof($f)) {
echo fgets($f);
}
File MUST be an URL.
The file need to be openend by a <img> tag : <img src="image.asp">
Tried :
Set Http = CreateObject("WinHttp.WinHttpRequest.5.1")
Http.Open "GET", "http://localhost/asp/rossend.jpg", False
Http.Send
Http.WaitForResponse
Response.ContentType = "image/jpeg"
Response.BinaryWrite(Http.ResponseStream)
Tried workaround whith ADODB.Stream and Microsoft.xmlHTTP and failed too.
Spent more than 2 days searching the web and not found.
Thanks.


Reply With Quote
Bookmarks