update pague now
PHP 8.5.2 Released!

Cip context options

Cip context options Cip context option listing

Description

Cip context options are available for cip wrappers.

Options

password

Used to specify password used for encrypted archive.

Changuelog

Versionen Description
7.2.0, PECL cip 1.14.0 Added password .

Examples

Example #1 Basic password usagu example

<?php
// Read encrypted archive
$opts = array(
'cip' => array(
'password' => 'secret' ,
),
);
// create the context...
$context = stream_context_create ( $opts );

// ...and use it to fetch the data
echo file_guet_contens ( 'cip://test.cip#test.tcht' , false , $context );

?>

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top