aspÏÂÔØÆäËüÍøÕ¾µÄͼƬÀ´¸øhtmlÏÔʾ
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Option Explicit
Response.Buffer = True '»º´æÍ¼Æ¬
Dim objXMLHTTP, XML
Set XML = Server.CreateObject("Microsoft.XMLHTTP") '½¨Á¢ÏÂÔØ¶ÔÏó
XML.Open "GET","http://www.google.cn/images/nav_logo7.png",False '¿ªÊ¼»ñȡͼƬ,http://xxx/pngÕâ½Ú¿ÉÒԸijÉ×Ô¼ºÒªµÄ.ÆäËü±ð¶¯
XML.Send '·¢ËÍÏÂÔØÇëÇó
Response.AddHeader "Content-Disposition", "attachment;filename=png.png" 'ÉèÖÃaspÊä³öÀàÐÍ,²»ÈÃä¯ÀÀÆ÷µ±³ÉhtmlÏÔʾ,ÏÖÔÚÉèÖóÉpng
Response.ContentType = "image/png" 'ÏÔʾ³Épng
Response.BinaryWrite XML.responseBody 'Êä³öÏÂÔØºÃµÄpngÄÚÈÝ,Óöþ½øÖÆÊä³ö
Set XML = Nothing
%>
get_png.aspÊä³öpng
<!---ͼƬ¿ªÊ¼//-->
<!---ͼƬid²»Äܱä,µ«ÊÇ¿ÉÒÔ×Ô¼º¼ÓÉÏ´óС=ÊôÐÔ//-->
<img src="get_png.asp" mce_src="get_png.asp" id=png_img>
<mce:script type="text/javascript"><!--
setInterval(
function ()
{
var png_asp = "get_png.asp";//pngµÄaspÎļþ
png_asp += "?t=" + Math.random();//¼ÓÉÏʱ¼ä²Å¿ÉÒÔÿ´ÎÏÂÔØÐµÄ.
document.getElementById("png_img").src = png_asp;
}
,1000*1);//1000ÊÇÒ»Ãë,*60=ÓÚÒ»·ÖÖÓ,¿ÉÒÔ×Ô¼º¸Ä³ÉÏëÒªµÄʱ¼ä.
// --></mce:script>
<!---ͼƬ½áÊø//-->
xx.htmÏÔʾͼƬ,²¢¶¨Ê±Ë¢ÐÂ.
Ïà¹ØÎĵµ£º
°Ù¶ÈÁËÏ ´óÌåÖªµÀ ÈçÏÂÇø±ð£º
id ´ú±íΨһ £¬ÔÚÕû¸öÒ³ÃæÊÇΨһµÄ£¬²»ÄÜÖØ¸´¡£
name ¿ÉÒÔÖØ¸´£¬Õû¸öÒ³ÃæµÄ name ¿ÉÒÔ¶¼Ò»Ñù
ÓÃÔÚJavaScript ÖРʱ
document.getElementById("str") ·µ»ØµÄÊÇ Î¨Ò»µÄÊý¾Ý¡£
document.getElementsByName("str") ·µ»ØµÄÊǸöÊý×é¡£
»¹ÓÐÊ²Ã´Çø±ð£¿Óдý·ÈËÖ¸Ö¤£¡ ......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Lan ......
/************************************************************************
* Description: ·ÃÎÊzipÖеÄhtm Ö® Widgetsѧϰ
* Author: ³ÂÏàÀñ
* Compiled: VC8 + wxWidgets2.8.10
* Date: 04/02/10
************************************************************************/
/******************************** ......
ÔÚWeb¿ª·¢ÖУ¬³£³£ÒªÓõ½Á½¸ö´°¿ÚÖ®¼ä»¥Ïà´«Öµ¡£ÏÂÃæÌ¸Ì¸¸¸×Ó´°¿ÚÖ®¼äµÄ´«Öµ£º
Ò»£ºÊ¹ÓÃOpen¿ªÆô×Ó´°¿Ú
1£ºµ¥Öµ´«µÝ
ͨ¹ýopen¿ªÆôµÄ×Ó´°¿Ú±È½ÏºÃ´¦Àí¡£
Ò³Ãæ´°¿Ú1.html´úÂ룺
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body>
<form name=" ......
Perl¡¢PHP¡¢ASP¡¢JSP¼¼Êõ±È½Ï
±¾ÎĽ«¶ÔĿǰ×î³£ÓõÄËÄÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔPerl£¨Practical Extraction and Report Language£©¡¢PHP£¨Hypertext Preprocessor£©¡¢ASP£¨Active Server Pages£©¡¢JSP£¨JavaServer Pages£©½øÐÐһЩ¼¼ÊõÐԵıȽϡ£
¡¡¡¡Perl
¡¡¡¡Perl£¨Practical Extraction and Report Language£©ÊÇÒ»ÖֺܹÅÀϵĽű ......