php³£ÓõÄÒ»¸ö³£Á¿
phpÖÐDIRECTORY_SEPARATOR Óë PATH_SEPARATORµÄÇø±ð
DIRECTORY_SEPARATOR£ºÂ·¾¶·Ö¸ô·û£¬linuxÉϾÍÊÇ’/’ windowsÉÏÊÇ’\’
PATH_SEPARATOR£ºinclude¶à¸ö·¾¶Ê¹Óã¬ÔÚwinÏ£¬µ±ÄãÒªinclude¶à¸ö·¾¶µÄ»°£¬ÄãÒªÓÔ;”¸ô¿ª£¬µ«ÔÚlinuxϾÍʹÓÔ:”¸ô¿ªµÄ¡£
Õâ2¸ö³£Á¿µÄʹÓÃÄܹ»±ÜÃⲻͬƽ̨µÄ¼æÈÝÐÔÎÊÌâ¡£
Ïà¹ØÎĵµ£º
$_POST ±äÁ¿ÓÃÓÚÊÕ¼¯À´×Ô method="post" µÄ±íµ¥ÖеÄÖµ¡£
$_POST ±äÁ¿
$_POST ±äÁ¿ÊÇÒ»¸öÊý×飬ÄÚÈÝÊÇÓÉ HTTP POST ·½·¨·¢Ë͵ıäÁ¿Ãû³ÆºÍÖµ¡£
$_POST ±äÁ¿ÓÃÓÚÊÕ¼¯À´×Ô method="post" µÄ±íµ¥ÖеÄÖµ¡£´Ó´øÓÐ POST ·½·¨µÄ±íµ¥·¢Ë͵ÄÐÅÏ¢£¬¶ÔÈκÎÈ˶¼ÊDz»¿É¼ûµÄ£¨²»»áÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸£©£¬²¢ÇÒ¶Ô·¢ËÍÐÅÏ¢µÄÁ¿Ò²Ã»ÓÐÏÞÖ ......
PHP session ±äÁ¿ÓÃÓÚ´æ´¢ÓйØÓû§»á»°µÄÐÅÏ¢£¬»ò¸ü¸ÄÓû§»á»°µÄÉèÖá£Session ±äÁ¿±£´æµÄÐÅÏ¢Êǵ¥Ò»Óû§µÄ£¬²¢Çҿɹ©Ó¦ÓóÌÐòÖеÄËùÓÐÒ³ÃæʹÓá£
PHP Session ±äÁ¿
µ±ÄúÔËÐÐÒ»¸öÓ¦ÓóÌÐòʱ£¬Äú»á´ò¿ªËü£¬×öЩ¸ü¸Ä£¬È»ºó¹Ø±ÕËü¡£ÕâºÜÏñÒ»´Î»á»°¡£¼ÆËã»úÇå³þÄãÊÇË¡£ËüÖªµÀÄãºÎʱÆô¶¯Ó¦ÓóÌÐò£¬²¢ÔÚºÎʱÖÕÖ¹¡£µ«ÊÇÔÚÒòÌØ ......
Çø±ð:
system() Êä³ö²¢·µ»Ø×îºóÒ»ÐÐshell½á¹û¡£
exec() ²»Êä³ö½á¹û£¬·µ»Ø×îºóÒ»ÐÐshell½á¹û£¬ËùÓнá¹û¿ÉÒÔ±£´æµ½Ò»¸ö·µ»ØµÄÊý×éÀïÃæ¡£
passthru() Ö»µ÷ÓÃÃüÁ°ÑÃüÁîµÄÔËÐнá¹ûÔÑùµØÖ±½ÓÊä³öµ½±ê×¼Êä³öÉ豸ÉÏ¡£
Ïàͬµã£º¶¼¿ÉÒÔ»ñµÃÃüÁîÖ´ÐеÄ״̬Âë
////////////////////////////////////////////////////////// ......
×î½ü°ïʵÑéÊÒÍêÉÆÒ»¸öCMSϵͳ£¬ÏÖÔÚÒѾ½øÈëβÉù£¬½è´Ë»ú»á¼òÒª¼Ç¼һÏÂʵÏÖµÄϸ½Ú£¬ÒÔ±¸ËùÐè¡£
±¾ÏµÍ³ÊǸö´¿´âµÄÔÚÏßÄÚÈݹÜÀíϵͳ£¬×îÖ÷ÒªµÄ²Ù×÷¾ÍÊÇÏòÊý¾Ý¿âÖÐÌí¼Ó¡¢Ð޸ĺÍɾ³ýÊý¾Ý£¬Ó¦¸Ã˵ʵÏÖÆðÀ´ºÜ¼òµ¥£¬²»¹ýÕýÊÇÒòΪ¼òµ¥£¬Ê¹µÃÔÓÐϵͳÏԵúÜÄÑά»¤£¬¼òµ¥ÀàËƵIJÙ×÷ÓÐ20¶à¸ö²»Í¬µÄÒ³Ã棬ÿ¸öÒ³Ãæ ......
import java.io.IOException;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
public class DES {
private byte ......