Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

html¡¢asp¡¢php¡¢jsp ½ûÖ¹»º´æµÄ·½·¨

HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP£º
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");

ASP:
response.expires=0
response.addHeader("pragma","no-cache")
response.addHeader("Cache-Control","no-cache, must-revalidate")

JSP£º
response.addHeader("Cache-Control", "no-cache");
response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");


Ïà¹ØÎĵµ£º

html һЩ»ù±¾·½·¨

1. ³¬Á´½ÓµÄͼƬȥµô±ß¿òµÄ·½·¨£º
    ÔÚ Óï¾äÀï¼ÓÉÏ border=0
    È磺<img  border=0
src="sadf.jpg">
2.Êó±ê·ÅÉÏȥͼƬ±äÉ«µÄ·½·¨£º
    Óõ½Á˱êÇ©µÄʼþ¹¦ÄÜ£¬µ÷Ó÷½·¨ÊÇ function="this.src='asdf.jpg'"
    Èç£ ......

phpÎļþÉÏ´«

//ÉÏ´«Îļþ
$dir="../upfile/jianli";
set_time_limit(0);
extract($_FILES);
if(!empty($res_clett["name"])){
    $upfile=&$HTTP_POST_FILES['con_pdf'];
    $upfileEx=substr($upfile['name'],-3);
    $tmp_name=date("YmdGhis").'.'.$upfileEx;
 &nb ......

Ë®¾§Ò×±í—JSP—Êý¾Ý¿â

Ë®¾§Ò×±í±Ï¾¹ÊÇ×ö±¨±íµÄ£¬À뿪Êý¾Ý¿âËüÊǷɲ»Ô¶µÄ¡£´ÓÄ¿Ç°µÄ°æ±¾À´¿´£¬Ò×±íÁ¬½ÓÊý¾Ý¿âËäÈ»Óкü¸ÖÖ·½Ê½£¬µ«¶¼±È½ÏÂé·³£¬¶øÇÒ»¹Óкܶà¾ÖÏÞÐÔ¡£ÆäÖÐͨ¹ýxml·½Ê½Á¬½ÓÊý¾Ý¿â»¹Ëã±È½ÏÁé»î£¬ÎÒҪ˵µÄ¾ÍÊÇÕâÖÖ·½Ê½¡£
 
ÔÚÒ×±íµÄÊý¾Ý¹ÜÀíÀïн¨Ò»¸öxmlÊý¾ÝÁ¬½Ó£¬ÈçÏÂͼ£º
ÎÒµÄÊÇÓ¢ÎÄ°æµÄ£¬²»ºÃÒâ˼£¬ÒÔÇ°ÊÇÖÐÎÄ°æÀ´×Å£¬ºóÀ´ ......

ASP MapPath ·½·¨

http://www.w3school.com.cn/asp/met_mappath.asp
¶¨ÒåºÍÓ÷¨
MapPath ·½·¨¿É°ÑÖ¸¶¨µÄ·¾¶Ó°Éäµ½·þÎñÆ÷ÉÏÏàÓ¦µÄÎïÀí·¾¶ÉÏ¡£
×¢ÊÍ£º´Ë·½·¨²»ÄÜÓÃÓÚ Session.OnEnd ºÍ Application.OnEnd ÖС£
ʵÀý
ʵÀý 1
¾ÙÀý£¬Îļþ test.asp λÓÚ C:\Inetpub\wwwroot\Script¡£
Îļþ Test.asp (λÓÚ C:\Inetpub\wwwroot\Script) °üº ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ