php ajax ±í¸ñÅÅÐò£¬µ÷ÕûÁÐ¿í£¬ÐÞ¸ÄÄÚÈÝ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TableKit</title>
</head>
<body>
<div id="content">
<p>¿ÉÒÔµã»÷ÐÞ¸ÄÄÚÈÝ£¬ÊµÊ±ÏÔʾ£¬Ã»ÓдæÈëµ½Êý¾Ý¿â£¬µ÷Õûÿ¸öÁÐµÄ¿í£¬µã»÷±í¸ñÍ·²¿ÅÅÐò£¬ÉýÐòºÍ½µÐò</p>
<p>www.corange.cn </p>
<table class="sortable resizable editable">
<thead>
<tr><th class="sortfirstdesc" id="urgency">Urgency</th><th id="creation-date">Date</th><th id="time">Time</th><th id="title">Title</th><th id="status">Status</th><th id="author">Requested By</th><th id="cost">Cost</th><th id="size">Size</th></tr>
</thead>
<tfoot>
<tr><td>Urgency</td><td>Date</td><td>Time</td><td>Title</td><td>Status</td><td>Requested By</td><td>Cost</td><td>Size</td></tr>
</tfoot>
<tbody>
<tr id="N938747839"><td><div class="urg5">5</div></td><td>24/10/2005 10:47:41 AM</td><td>10:47:41 AM</td><td><a href="http://www.corange.cn">www.corange.cn</a></td><td>In Progress</td><td>Tom</td><td>$200.00</td><td>30KB</td></tr>
<tr id="N938712239"><td><div class="urg5">5</div></td><td>24/10/2005 10:49:41 AM</td><td>10:49:41 AM</td><td>Keyboard is Broken</td><td>In Progress</td><td>Tom</td><td>$200.00</td><td>30 KB</td></tr>
<tr id="N9387
Ïà¹ØÎĵµ£º
ÓкܾÃÒ»¶Îʱ¼äÎÒµÄBLOGÉÏûÓгöÏÖAJAXÏà¹ØѶϢÁË£¬Ö÷Òªµ±È»ÊÇÒòΪ¾ø´ó²¿·ÖµÄÖØÐĶ¼·Åµ½ÁËSilverlightÉíÉÏ(¿ÉÔ¤ÆÚµÄδÀ´Ó¦¸ÃÒ²»áÊÇÈç´Ë)¡£
µ«ÓÉÓÚ¹¤×÷ÉϵÄÐèÒª£¬×î½ü»¹ÊÇ»ØÍ·¿´ÁËһϼ´½«ÍƳöµÄASP.NET Ajax Library...£¬Ë³±ãÕÒÁËÒ»ÏÂÍøÂçÉϵÄѶϢ£¬¿´Õâ¸ö̬ÊÆÎÒ²ÂÏëÓ¦¸Ã²»ÉÙASP.NET¿ª·¢ÈËÔ±ºöÂÔµôÁËÕâ¸öÆäʵÒѾbet ......
ÈçºÎÓÃphpɾ³ýÎļþÄØ£¿
phpÖÐÓиöº¯Êý½Ð×÷unlink¡£Ö»ÒªÒ»¸ö²ÎÊý£¬±íʾÎļþ·¾¶¾ÍÐÐÁË¡£
bool unlink ( string filename)
³É¹¦É¾³ý·µ»ØÕ棬·ñÔò·µ»Ø¼Ù¡£
Õâ´ÎÎÒÔÚÏîÄ¿ÖУ¬ÐèÒªÓõ½É¾³ýÎļþ²Ù×÷¡£ÎªÁËÍêÃÀµÄ²Ù×÷£¬Ê×ÏÈÒªÅжÏÒ»ÏÂÕâ¸ö·¾¶µÄÎļþÊÇ·ñ´æÔÚ£¬ÓÃfile_existsº¯Êý¡£ÈçÈô´æÔÚ£¬Ôòȥɾ³ýÎļþ¡£¾ßÌå´úÂëÈçÏ£º
i ......
1¡¢·ÀÖ¹Ìø³öwebĿ¼ £¨ÑÏÖزÉÓã©
¡¡¡¡Ê×ÏÈÐÞ¸Ähttpd.conf£¬Èç¹ûÄãÖ»ÔÊÐíÄãµÄphp½Å±¾³ÌÐòÔÚwebĿ¼Àï²Ù×÷£¬»¹¿ÉÒÔÐÞ¸Ähttpd.confÎļþÏÞÖÆphpµÄ²Ù×÷·¾¶¡£±ÈÈçÄãµÄwebĿ¼ÊÇ/usr/local/apache/htdocs£¬ÄÇôÔÚhttpd.confÀï¼ÓÉÏÕâô¼¸ÐУº
¡¡¡¡php_admin_value open_basedir /usr/local/apache/htdocs
¡¡¡¡ÕâÑù£¬Èç¹û½Å±¾Òª ......
<?php
//ʹÓÃfunction¹Ø¼ü×Ö¶¨Òå·½·¨
function num($value,$value2 = 'ÄúºÃ£¡'){
echo $value.$value2;
}
//µÚÒ»´Îµ÷ÓÃ
num("ÕÅÈý");
//µÚ¶þ´Îµ÷ÓÃ
//¿ÉÒÔ¿´³ö£¬¸Ã·½·¨¶¨Òåʱ£¬µÚ¶ ......
<?php
function myFun(){
echo "hello,ÕÅÈý";
}
//ÀûÓÃfunction_exists·½·¨ÅжÏ×Ô¶¯ÒÔ·½·¨ÊÇ·ñ´æÔÚ
//¸Ã·½·¨²ÎÊýΪҪÅжϵÄ×Ô¶¨Òå·½·¨µÄ·½·¨Ãû£¬¿ÉдΪ
//"myFun"»òmyFun
if(function_exists(myFun)){
echo "´æÔÚ ......