(PHP 4 >= 4.2.0, PHP 5)
openssl_csr_export_to_file — Exports a CSR to a file
$csr
, string $outfilename
[, bool $notext
= true
] )
openssl_csr_export_to_file() takes the Certificate
Signing Request represented by csr
and saves it
as ascii-armoured text into the file named by outfilename
.
csr
outfilename
Path to the output file.
notext
可選參數 notext
影響輸出的資訊詳細度。如果設為
FALSE
,輸出內容將包含附加的人類可讀訊息。notext
的預設值為 TRUE
。
如果成功則回傳 TRUE
,失敗則回傳 FALSE
。