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

windowsÏÂÓëlinuxϵÄ΢СÇø±ð

Õâ¶Î´úÂëÔÚlinuxûÓÐЧ¹û
µ«ÊÇÔÚwidowsÏÂÈ´¿ÉÒÔÓÐЧ
posts.php
<?php
echo "<a href="\" mce_href="\""gov.php?action=logout\">logout</a>";
?>
---------------
gov.php
<?php
if($action=='logout')
{
session_unset();
session_destroy();
echo "<mce:script language=\"javascript\"><!--
alert('zhuxiao'); location.href=\"index.php\";
// --></mce:script>";
}
?>


Ïà¹ØÎĵµ£º

linuxÏÂÇý¶¯µÄÈë¿Úº¯Êý¼°¼ÓÔØ

      ¼¸ºõÿ¸ölinuxÇý¶¯¶¼Óиömodule_init¡£Ã»´í£¬Çý¶¯µÄ¼ÓÔؾͿ¿Ëü¡£ÏÈÀ´·ÖÎöÒ»ÏÂmodule_init¡£¶¨ÒåÈçÏ£º
#define module_init(x)     __initcall(x);              //include\linux\init.h
#define ......

LinuxÏÂÎļþ¼Ð²Ù×÷³£ÓÃÃüÁî

1.ɾ³ýÎļþ¼ÐÓãºrmdir Îļþ¼ÐÃû
  µ«ÊÇrmdir²»ÄÜɾ³ý·Ç¿ÕµÄÎļþ¼Ð£¬ÄÇÈçºÎɾ³ý·Ç¿ÕÎļþ¼ÐÄØ£º
2.ͨ³£Çé¿öÏ£¬É¾³ýÎļþÓãºrm ÎļþÃû
   -d»ò--directory ¡¡Ö±½Ó°ÑÓûɾ³ýµÄĿ¼µÄÓ²Á¬½ÓÊý¾Ýɾ³É0£¬É¾³ý¸ÃĿ¼¡£ 
¡¡-f»ò--force ¡¡Ç¿ÖÆɾ³ýÎļþ»òĿ¼¡£ 
¡¡-i»ò--interactive  ......

linuxʹÓÃÐÂÓ²ÅÌ


linuxÏ°²×°ÐÂÓ²Å̲¢¼ÓÔØʹÓÃÊÖ¼Ç
================================================================================
Ò»¡¢¹ý³Ì²½Öè
1¡¢#kudzu                          //¼ì²âÐÂÓ ......

linux ¶¨Ê±Æ÷ʹÓöþ

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <time.h>
#include <unistd.h>
#include <signal.h>
static char *runStatusFile   = "/syscfg/etc/runStatusFile";
FILE *pFile = NUL ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ