View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 03.11.2002   #3 (permalink)
biolight
 
biolight's Avatar
 
Üyelik Tarihi: 22.06.2001
Yer: Antalya
Yaş: 38
Mesaj: 531
@stNonStop
Yardımın için teşekkürler.

Şuan ASP de çok yeniyim PHP ise hiç bir bilgim yok
pws de PHP kodlarını çalıştırmasını dahi bilmiyorum.

ASP ile çözümünü dün sabahlayarak buldum

resim.HTML
----------
Kod:
<script> 
var mygif="resim.gif"; 
document.write("<img src=\"resim.ASP?res="+ mygif +"\">");
</script>
resim.ASP
----------
Kod:
<%
 Dim resim
 Dim resasp

 resim=Request("res")

 Set resasp = server.createobject("ADODB.Stream")
       resasp.Type = 1
       resasp.Open
       resasp.LoadFromFile server.MapPath(resim)
       Response.ContentType = "image/gif"
       Response.BinaryWrite resasp.Read()
       resasp.Close
 Set resasp = Nothing
%>
Not:
Kodlar Brinkster ve 7host da çalışmaktadır.
Benim Pws de çalışmıyor o ayrı konu.
artık kendime ait bir sayaç yapabilecegim
biolight şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin