摘要:
time() //timestamp getdate() //return a array,contain year,month,day.... and you can pass a timestamp to it,return suitable value format: date(format, 阅读全文
posted @ 2018-11-24 16:45
cyany_blue
阅读(108)
评论(0)
推荐(0)
摘要:
upload multiple you should add multiple to input element and change name="img[]"; like it: and run it , you will get it: Haha,that is all. 阅读全文
posted @ 2018-11-24 16:11
cyany_blue
阅读(135)
评论(0)
推荐(0)
摘要:
First: open the php.ini and find the keyword mail function Reference: https://stackoverflow.com/questions/5335273/how to send an email using php Note: 阅读全文
posted @ 2018-11-24 15:15
cyany_blue
阅读(120)
评论(0)
推荐(0)
摘要:
to use session,you can : delete session have two ways one is other is : if user ban to store cookie in his brower, you can use : you should close cook 阅读全文
posted @ 2018-11-24 14:55
cyany_blue
阅读(82)
评论(0)
推荐(0)
摘要:
Example: 阅读全文
posted @ 2018-11-24 14:13
cyany_blue
阅读(89)
评论(0)
推荐(0)
摘要:
1. r open the file and read only 2.r+ open the file and write 3.w open the file and write only truncates the file to zero length. 4.w+ open the file a 阅读全文
posted @ 2018-11-24 12:48
cyany_blue
阅读(219)
评论(0)
推荐(0)
摘要:
``` ' . join('|', $known) . ')[/ ]+(?[0-9.|a-zA-Z.]*)#'; if (!preg_match_all($pattern, $u_agent, $matches)) { // we have no matching number just continue ... 阅读全文
posted @ 2018-11-24 11:11
cyany_blue
阅读(104)
评论(0)
推荐(0)
摘要:
``` "; echo constant('name').''; echo __LINE__.''; //The current line number echo __FILE__.'';//the current filename function abc(){ echo __FUNCTION__.'';//echo function name } abc(); class a{ fu... 阅读全文
posted @ 2018-11-24 10:59
cyany_blue
阅读(190)
评论(0)
推荐(0)

浙公网安备 33010602011771号