Juszeil Conception

Juszeil Conception

  • D
  • ï
  • s T
  • a

«2023 - 1»
@GT|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODAY

Hide Banner | LOGIN
2023-1-29 |

BLOG

Total found 301 articles .

<< 12345678910111213141516 >>

程 式 語 言 2017-3-15 0:38:18

PHP - 刪除字串頭尾的(一個或多個)特定字元 (利用 trim )

我們常會利用 trim() 去刪除字串頭尾的空白符號,事實上,除了空白符號外,trim 也可以讓我們刪除指定的字元,例如: $mystr = "1,2,3,,,,,";$mystr = trim($mystr, ",");echo $mystr;  //印出 1,2,3 ........



Read Full Article

程 式 語 言 2017-3-14 20:22:25

PHP - 如何讓 PHP 的產生的陣列(array) 轉成 JavaScript 可以使用的物件(Object)格式 (透過 json_encode() 轉換

 $arr = array(1,2,3); $obj = json_encode($arr, JSON_FORCE_OBJECT); ?> var obj = new Object(); obj = ; ........



Read Full Article

程 式 語 言 2017-3-14 20:17:14

PHP - 如何找出兩個日期間差了多少"月份"

例如我們想知道 2014-12-28 與 2015-01-01 間差了幾個月份 $sd = $_POST['search_startdate'];$ed = $_POST['search_enddate'];$diff_month = (date('Y', strtotime($ed)) - date('Y', strtotime($sd))) * 12 + (date('m'........



Read Full Article

程 式 語 言 2017-3-14 20:10:19

PHP - 如何產生跨年度的月份表

$dateStart = new \DateTime();  //開始日期 $dateInterval = \DateInterval::createFromDateString('+1 month');  /[bbcode_lef........



Read Full Article

程 式 語 言 2017-3-14 20:08:34

PHP - 網址參數的抓法 (使用 http_build_query)

假設網址是 http://www.myweb.com/index.php?a=1&b=2&c=3 我們知道要抓參數的方式為 $_GET['a']、 $_GET['b']...,如果需要串成query string,有個很簡單的方式,如下: $url_querystring ........



Read Full Article

程 式 語 言 2017-3-14 20:07:44

PHP - 檢查 Email 與 IP 的格式是否合法

檢查 Email 的有效性,第一步就是檢視其格式是否合法,PHP 內建的 fliter_var() 可以讓我們不需編寫複雜的正規式,就可以無腦的檢查出使用者提供的 Email 是否有符合規定格式,使用方式如下:$email = '123.aaa.bbb';//檢查 emaili........



Read Full Article

電 腦 技 術 2017-2-13 22:17:48

Centos - 修改ssh端口號的方法


一、修改ssh端口號的方法查看目前ssh端口使用netstat命令: netstat -tulnp|grep sshd //查看ssh的開啟的端口netstat -lntp //查看所有端口命令如果出現命令不存在的錯誤話,安裝net-tools可以........



Read Full Article

電 腦 技 術 2017-2-10 3:04:10

Windows Server - Revoking temporary RDS licenses

Have you ever had a problem with a client in your lab and you wanted to revoke the temporary license that was issued to it but you couldn't because it was greyed out!? Well there is a worka........



Read Full Article

電 腦 技 術 2017-2-10 1:58:03

Windows Server - Create Trusted Remote Desktop Services (RDP) SSL Certificate

For Windows environments that want extra security, one of the features that has been around for ages is requiring TLS 1.0 for Windows RDP (Remote Desktop) connections. This functionality requires a ce........



Read Full Article

電 腦 技 術 2017-2-7 0:45:11

Windows Server 2012 - Rename AD Domain Name

In this tutorial, we’ll rename a domain name in AD forest with domain controller running Windows Server 2012. BACKUP the domain controllers before proceeding, and ensure that you can restore domain co........



Read Full Article

電 腦 技 術 2017-2-6 1:06:29

Windows Server - enroll user and computer certificate in AD

Auto enroll computer certificate: Create a computer certificate template Start->Run-> certtmpl.msc Give the new certificate template a name, in my case, I named it “Computer AutoEnroll........



Read Full Article

電 腦 技 術 2017-2-4 19:10:16

Exchange2013/16 - Offline Address Book Troubleshooting

Error Message:Outlook for users which have been moved to Exchange 2013 (Outlook Send/Receive generates 0x8004010F An object cannot be found error or Microsoft Exchange offline address book........



Read Full Article

電 腦 技 術 2017-2-3 23:14:03

Exchange 2013/16 - Recreate Exchange Health Mailboxes

How to recreate health mailboxes in Exchange 2013/2016? A new type of mailbox that is available in Exchange 2013/2016 is the health mailbox and is used for monitoring the se........



Read Full Article

電 腦 技 術 2017-1-30 11:52:05

Windows Server - IIS and X-Forwarded-For Header (behide Proxy or LB)


Although its not technically a standard, the XFF or x-forwarded-for header, is incredibly useful if you have any kind of proxy in front of your web servers. When you load balance your web site a........



Read Full Article

電 腦 技 術 2017-1-28 17:35:11

Windows Server 2012 - IIS Application Request Routing (HA)


Overview Microsoft Application Request Routing (ARR) for IIS 7.0 and above is a proxy-based routing module that forwards HTTP requests to content servers based on HTTP headers, server variables, and ........



Read Full Article

電 腦 技 術 2017-1-28 12:28:37

Windows Server 2012 - IIS Application Request Routing


Introduction Publishing Exchange services such as Outlook Web App (OWA), ActiveSync (EAS) and Outlook Anywhere out to the Internet has always been something that administrators usually get stuck with........



Read Full Article

電 腦 技 術 2017-1-1 16:03:33

Windows Server - web server and private key exportable

Windows CA template – web server and private key export Creating a web server certificate request is very easy when using a Windows CA server. There is one disadvantage. The requested certificate i........



Read Full Article

沒 有 分 類 2016-11-8 18:10:07

全國人大審議通過網絡安全法,緊急情況政府可斷網


   第十二屆全國人大常委會第二十四次會議表決通過網絡安全法,將於2017年6月1日起施行。攝:GREG BAKER/AFP 11月7日,備受爭議的《網絡安全法》在第十二屆全國人大常委會第二十四次會議上審議通過,將於明年6月1日起實行。中國當局希望........



Read Full Article

電 腦 技 術 2016-11-2 1:55:07

ESXi5.5 升級到 ESXi6.0


方法一: 燒成光碟或做成USB安裝碟 將所有VM關機,將ESXi主機進入維護模式,關機。 走到機房,放入安裝媒體,從光碟或USB碟開機 接下來請參考圖例,原則上就是選擇舊版所在硬碟, 偵測後開始升級,DataStore保留不變。 歡迎畫面 版權宣告 選擇舊版正確位置 ........



Read Full Article

電 腦 技 術 2016-11-1 1:37:40

Windows Server 2016 – 新世代虛擬化平台 Hyper-V


微軟新世代 Windows Server 2016 雲端作業系統,在 2014 年 10 月 1 日時正式發佈第一版的「技術預覽(Technical Preview,TP1)」版本,接著在 2015 年 5 月發佈 TP2 技術預覽版本、2015 年 8 月發佈 TP3 技術預覽版本。最新版本,則是在 2015 年 11 月時所........



Read Full Article

<< 12345678910111213141516 >>


Back To Top

Find Me

Powered By 2013-2015 ©. Juszeil Conception version 2.0
Queries Executed : 0.0341 seconds