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

ÇëÎÊÔõÑùÓÃphpÖØÐ´Ò»¸öhtmÎļþ£¿

a.html ºÍ modify.php·ÅÔÚ http://localhost/ ÏÂ

a.htmlµÄÄÚÈÝÈçÏ£º
HTML code:

<span>hello</span>
<div class="selected">
aaaa
</div>
<button>¸Äд¸ÃhtmÎļþ</button>


µ±µã»÷button£¨ÔËÐÐmodify.php£©ºó a.htmlµÄ´úÂë±»ÖØÐ´³É
¸Ä¹ýµÄa.html:
HTML code:

<span>hello</span>
<div class="selected">
bbbb
</div>
<button>¸Äд¸ÃhtmÎļþ</button>


Ë­ÄܽÌÎÒÔõôд²ÅÄÜʵÏָù¦ÄÜ£¿ÎÒphpºÜ²Ë¡£
up

ajax

¸ßÊÖÃÇдһ¶ÎÂmodify.php¸ÃÔõôд£¿

ÓÃphpÎļþϵͳµÄº¯Êý

¸øÄãÒ»¶ÎajaxʵÏֵĴúÂë
a.html
HTML code:

<script type="text/javascript">
var request=null;
function createRequest(){
try{
request=new XMLHttpRequest();
} catch(trymicrosoft){
try{
request=new ActiveXObject("Msxml2.XMLHTTP");
} catch(othermicrosoft){
try{
request=new ActiveXObject("Microsoft.XMLHTTP");
} catch(failed){
request=nu


Ïà¹ØÎÊ´ð£º

php±àдִÐÐlinux shellÃüÁîµÄ´úÂë

ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾­¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......

phpÖÐfile_get_contentsÎÊÌâ

$a = $_FILES['userfile']['name'] ;

$test = $a;

$p = split('/',$test);

$p[count($p)-1];

$content = file_get_contents("$p");

$con ......

¹ØÓÚphpα¾²Ì¬µÄÎÊÌâ

<?php
/*
¹¦ÄÜ£ºPHPα¾²Ì¬»¯Ò³ÃæµÄʵÏÖ
¾ßÌåÓ÷¨:
ÀýÈçÁ´½ÓΪ:test.php/year/2006/action/_add.html
mod_rewrite();
 $yearn= $_GET["year"];//½á¹ûΪ'2006' ......

¹ØÓÚphp urlÖØÐ´

Ïë°Ñhttp://www.abc.com/aa/bb/aa.php
ÖØÐ´³Éhttp://www.abc.com/aa.php  ŪÁ˰ëÌìÒ²²»ÖªµÀÈçºÎŪ¡«¡«
Õâ¸ö¿ÉÒÔʵÏÖô
RewriteRule ^([a-z0-9]+)\/([a-z0-9]+)\/([a-z0-9]+)\.php$ $3.php [L,QSA]

Òý ......

php ÕýÔòȡ˫ÒýºÅÄÚÈÝ

ÀýÈç:  $s='s:56:" <a href="cp.php?ac=task&taskid=7">ÁìȡÿÈÕ»ý·Ö´óÀñ°ü </a>"dfdfdfds';
      ±ä³É
      $s='& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ