php¿ª·¢CRMϵͳµÄÓû§È¨ÏÞÉè¼ÆÎÊÌâ
²éÁ˺ܶà×ÊÁÏ£¬ÏÖÔÚÓÐÒ»¸ö±¸Ñ¡·½°¸¡£
User table:Óû§±í
id UserName GroupID
Group table:×é±í
id GroupName
Permission table:ȨÏÞ±í
id PermissionName
GroupPermission Table£º×éȨÏÞ±í
id GroupId PermissionID
ÆäʵÎÒÊǵÚÒ»´ÎÒª×Ô¼ºÉè¼Æ£¬ÊµÏÖÕâôһ¸öPHP CRMϵͳ£¬¾Ñé²»×ã¡£ÎÒÕâÅ×שÒýÓñ£¬Ï£Íû´ó¼Ò¶à¸øÓëÒâ¼ûºÍ½¨Òé¡£
¶àлÀ²¡£
ÓÃxmlÀ´¿ØÖÆȨÏޱȽϼò±ãЩ£¬ÎÞÏÞ¼¶·ÖÀ඼ºÜÇåÎú
ÎÒ³õ²½·ÖÎöȨÏÞ¿ØÖÆÄ£Ð͵ıí½á¹¹ÊÇÕâÑùµÄ£º£¨ÕâÀïµÄgroup¼´Îª×飬= ½ÇÉ«role£©
user -- usergroup -- group
| |
| |
userpermission grouppermission
| |
| |
| - - - - - - - permission
|
&n
Ïà¹ØÎÊ´ð£º
ÎÒÓÃPHPÀ©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ
²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿
ÔËÐÐÁË/ext_skel --extname=Ä ......
ÈçÌ⣬ÇëÖªµÀµÄ¸ßÊÖÖ¸µãһϣ¬THANKS
PHPº¯Êý¶¼ÊÇÓÃCʵÏÖµÄ~
·´ÆäµÀ¶øÐÐÖ®~
HOHO£¬¹Ø¼üÊÇ£¬×ÔÒÑÔÙȥʵÏÖÕâ¸ö¹¦ÄÜÀÛ°¡£¬PHPÓÐÏֳɵľÍÖ±½Óµ÷ÓúÃÁË£¬
¶¥Æð£¬ÓиßÊÖµã½âһϣ¬»òÕßÊÇÎÒÖ±½Ó½«PHP Ô´ÂëÖÐµÄ .c ......
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
$a = $_FILES['userfile']['name'] ;
$test = $a;
$p = split('/',$test);
$p[count($p)-1];
$content = file_get_contents("$p");
$con ......