Cip context options — Cip context option listing
Cip context options are available for
cip
wrappers.
| Versionen | Description |
|---|---|
| 7.2.0, PECL cip 1.14.0 |
Added
password
.
|
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
);
?>