php éæºçæä¸ä¸ªå符串_php_web-itnose
é¦é¡µ
asp
php
javascript
iis
apache
html/css
coldfusion
ajax
vbscript
cgi
xml/xsl
è·¨æµè§å¨å¼å
ruby/rails
ç¨åºå
html5
jquery
seo
jboss
json
angularjs
markdown
nginx
thinkphp
yii
pageadmin
extjs
wampserver
kendo ui
coffeescript
gulp
ecmascript
bootstrap
itnoseé¦é¡µ > web > php >
php éæºçæä¸ä¸ªå符串
2017-06-09 12:21
/**
* create_randéæºçæä¸ä¸ªå符串
* @param int $length å符串çé¿åº¦
* @param string $type ç±»å
* @return string
* @author:xjw129xjt(èéªæ¶) xjt@ourstu.com
*/
function create_rand($length = 8, $type = ‘all’)
{
$num = ‘0123456789’;
$letter = ‘abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz’;
if ($type == ‘num’) {
$chars = $num;
} elseif ($type == ‘letter’) {
$chars = $letter;
} else {
$chars = $letter . $num;
}
$str = ”;
for ($i = 0; $i < $length; $i++) {
$str .= $chars[mt_rand(0, strlen($chars) - 1)];
}
return $str;
}
ç¸å
³æç´¢ï¼
linq å符串
xmlå符串
delphi å符串
spring è¿åå符串
delphi case å符串
ç¸å ³æç«
2017-05-24 21:45 phpå¦ä½å¤æä¸ä¸ªå符串第ä¸ä¸ªå符æ¯å¦åå¨ï¼ä¸åå¨å°±å ä¸
2015-10-15 03:45 phpå¤æä¸ä¸ªå符串æ¯å¦å«ææå®çå符ï¼æ±é«æåæ³ï¼
2015-11-10 00:34 æè¦phpéç¥ä¼ ç»exeä¸ä¸ªurlï¼è®©exeå»è¿ç®ä¹åè¿åä¸ä¸ªå符串ç»php
2016-04-26 21:12 ä¸ä¸ªå符串çæ±æ
2014-09-12 21:10 phpå¦ä½å»æå符串æåä¸ä¸ªå符
æ´å¤ç¸å ³æç« >>
ææ°æç«
2017-06-20 01:35 èé们ï¼æ没æå¯è½è®©phpæ件åæ¶åªè½ä¸ä¸ªäººè®¿é®
2017-06-20 01:35 æä¹ç¦æ¢å¾çç´æ¥éè¿url访é®
2017-06-20 01:35 æ±æ!å¯å¨wampåªè½ç¨æ¬æºè®¿é®,åå±åç½çå
¶å®è®¾å¤è®¿é®ä¸å°!æäºå¤§å天t-t
2017-06-19 15:35 nginxä¸çthinkphpé®é¢
2017-06-19 15:35 php form æ件ä¸ä¼
æ´å¤ææ°æç« >>
çé¨æç´¢
cè¯è¨ å符串
cè¯è¨å符串
sqlserver å
å«å符串
sqlserver å符串ç¸å
sqlserver å符串æ¼æ¥
vb.net å符串
delphi æ¥æ¾å符串
sqlserveræªåå符串
sqlserver æ°å转å符串
sqlserver å符串转æ¢ææ¥æ
php çæxml
phpçæxml
vb.net å符串æ¢è¡
.net éæº
.net 两个é®å·
京icpå¤14022385å·-2
©2014 itnose软件ç¼ç¨æç¨ | èç³»æ们ï¼emailï¼twobrushes@126.com qq:35155868