[請益] 關於抓取暫存的圖檔

看板PHP作者 (哆啦A孟)時間18年前 (2007/03/21 13:43), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
程式描述:利用javascript計時,不斷的呼叫php程式,以產生圖,並在client端顯示 所產生之圖。因為我程式是不斷的在請php畫圖,也不斷的在client顯示新的圖 那想請問, 1.我php所產生的圖檔送到client之後,是否會暫存在client的某個地方。 2.如果有的話,這些圖在我網頁關閉前,都是存在的嗎? 3.如果有的話,這些圖是放在那,要如何去讀? 以上 勞煩各位先輩了 阿李啊豆 附上程式碼: .html <html> <head> <script type ="text/javascript"> var count1 = 1; function imgchange(){ var timerID =0; if(count1==1800) { count1=1; } else { count1=count1+1; } document.tid.src="proxyping.php?count="+count1; } timerID =setInterval("imgchange()",50); </script> <title>Practical AJAX: Accessing Remote Server through Proxy PHP Script</title> </head> <body onload="imgchange()"> <table align="center" border="0" width="100%" height="100%"> <TR align="center" valign="center"> <TD></TD> <TD><img name="tid" id="tid" width="800" height="300" src="proxyping.php?count=1"> </TD> <TD></TD> </body> </html> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.122.79.65
文章代碼(AID): #160CNmGS (PHP)
文章代碼(AID): #160CNmGS (PHP)