上下文(Context)選項和參數(shù)

PHP 提供了多種上下文選項和參數(shù),可用于所有的文件系統(tǒng)或數(shù)據(jù)流封裝協(xié)議。上下文(Context)由 stream_context_create() 創(chuàng)建。選項可通過 stream_context_set_option() 設置,參數(shù)可通過 stream_context_set_params() 設置。

目錄