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

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

目錄