Results of 1 - 10 of about 10 for getStream (0.003 sec.)
- RarEntry::getStream — このエントリのファイルハンドラを取得する | PHP 8.3 12693
- RarEntry::getStream (PECL rar >= 2.0.0) RarEntry::getStream — このエントリのファイルハンドラを取得する 説明 public function RarEntry::getStream ( string $password = ? ): resource | false 読み込み操作をサポートするファイルハンドラを返します。
... 変更履歴 バージョン 説明 PECL rar 3.0.0 エントリ名が繰り返される RAR アーカイブも対応するようになりました。 例 例1 RarEntry::getStream() の例 <?php $rar_file = rar_open ( 'example.rar' ); if ( $rar_file === false ) die( "Rar アーカイブのオープンに失敗しまし ... t ( $rar_file , 'Dir/file.txt' ); if ( $entry === false ) die( "そのようなエントリは見つかりません" ); $stream = $entry -> getStream (); if ( $stream === false ) die( "ストリームの取得に失敗しました" ); rar_close ( $rar_file ); // ストリームはファイルとは ...
-
https://man.mtool.work/php/8.3/rarentry.getstream.html
- ZipArchive::getStream — 名前を使用して、エントリのファイルハンドラ (読み込み専... 12120
- ZipArchive::getStream (PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0) ZipArchive::getStream — 名前を使用して、エントリのファイルハンドラ (読み込み専用) を取得する 説明 public function ZipArchive::getStream ( string $name ): resource | fal
... ad() で取得し、それを保存する <?php $contents = '' ; $z = new ZipArchive (); if ( $z -> open ( 'test.zip' )) { $fp = $z -> getStream ( 'test' ); if(! $fp ) exit( "失敗\n" ); while (! feof ( $fp )) { $contents .= fread ( $fp , 2 ); } fclose ( $fp ); file_p ... romgif ( 'zip://' . dirname ( __FILE__ ) . '/test_im.zip#pear_item.gif' ); imagepng ( $im , 'a.png' ); ?> 参考 ZipArchive::getStreamIndex() - インデックスで指定されたエントリへの、ファイルハンドラを取得する(読み取り専用) ZipArchive::getStreamName() - 名前 ...
-
https://man.mtool.work/php/8.3/ziparchive.getstream.html
- RarArchive::open — Rar アーカイブをオープンする | PHP 8.3 8867
- RarArchive::open rar_open (PECL rar >= 2.0.0) RarArchive::open -- rar_open — Rar アーカイブをオープンする 説明 オブジェクト指向型 (メソッド) public static function RarArchive::open ( string $filename , string $password = NULL , callable $vo
... count ( $entries ) . " files.\n" ; if (empty( $entries )) die( "No valid entries found." ); $stream = reset ( $entries )-> getStream (); if ( $stream === FALSE ) die( "Failed opening first file" ); $rar_arch -> close (); echo "Content of first one follows ... count ( $entries ) . " files.\n" ; if (empty( $entries )) die( "No valid entries found." ); $stream = reset ( $entries )-> getStream (); if ( $stream === FALSE ) die( "Failed opening first file" ); rar_close ( $rar_arch ); echo "Content of first one follo ...
-
https://man.mtool.work/php/8.3/rararchive.open.html
- The RarEntry class | PHP 8.3 8313
- The RarEntry class (PECL rar >= 0.1) はじめに A RAR entry, representing a directory or a compressed file inside a RAR archive. クラス概要 final class RarEntry { /* 定数 */ const int HOST_MSDOS = 0 ; const int HOST_OS2 = 1 ; const int HOST_W
... public function getMethod (): int public function getName (): string public function getPackedSize (): int public function getStream ( string $password = ? ): resource | false public function getUnpackedSize (): int public function getVersion (): int publ ... 取得する RarEntry::getName — エントリの名前を取得する RarEntry::getPackedSize — 圧縮後のエントリのサイズを取得する RarEntry::getStream — このエントリのファイルハンドラを取得する RarEntry::getUnpackedSize — 展開後のエントリのサイズを取得する RarEntry::getVer ...
-
https://man.mtool.work/php/8.3/class.rarentry.html
- Rar アーカイブ | PHP 8.3 8170
- Rar アーカイブ はじめに RAR は、Eugene Roshal が作成した強力で効率的なアーカイバです。 この拡張モジュールは unRAR ライブラリを使用していますが、 このライブラリは Rar アーカイブの読み込みしかサポートしていません。 unRAR のソースを使用して RA
... 取得する RarEntry::getName — エントリの名前を取得する RarEntry::getPackedSize — 圧縮後のエントリのサイズを取得する RarEntry::getStream — このエントリのファイルハンドラを取得する RarEntry::getUnpackedSize — 展開後のエントリのサイズを取得する RarEntry::getVer ...
-
https://man.mtool.work/php/8.3/book.rar.html
- ZipArchive クラス | PHP 8.3 8170
- ZipArchive クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0) はじめに Zip で圧縮されたファイルアーカイブです。 クラス概要 class ZipArchive implements Countable { /* 定数 */ public const int CREATE ; public const int EXCL ; public con
... on getNameIndex ( int $index , int $flags = 0 ): string | false public function getStatusString (): string public function getStream ( string $name ): resource | false public function getStreamIndex ( int $index , int $flags = 0 ): resource | false public ... function getStreamName ( string $name , int $flags = 0 ): resource | false public static function isCompressionMethodSupported ( int $method ... エントリの名前を返す ZipArchive::getStatusString — システムエラー、または ZIP メッセージに関するエラー情報を返す ZipArchive::getStream — 名前を使用して、エントリのファイルハンドラ (読み込み専用) を取得する ZipArchive::getStreamIndex — インデックスで指定され ...
-
https://man.mtool.work/php/8.3/class.ziparchive.html
- 例 | PHP 8.3 8027
- 例 rar:// ラッパー の例も参照ください。 例1 オンザフライでの復元 <?php if (! array_key_exists ( "i" , $_GET ) || ! is_numeric ( $_GET [ "i" ])) die( "Index unspecified or non-numeric" ); $index = (int) $_GET [ "i" ]; $arch = RarArchive :: o
... pare with * $entries[$index]->getFileTime(). You could also send a * "Last modified" header */ $fp = $entries [ $index ]-> getStream (); if ( $fp === FALSE ) die( "Cannot open file with index $index insided the archive." ); $arch -> close (); //no longer ...
-
https://man.mtool.work/php/8.3/rar.examples.html
- RarEntry::extract — アーカイブのエントリを展開する | PHP 8.3 8027
- RarEntry::extract (PECL rar >= 0.1) RarEntry::extract — アーカイブのエントリを展開する 説明 public function RarEntry::extract ( string $dir , string $filepath = "" , string $password = NULL , bool $extended_data = false ): bool RarEntry::ex
... ile , $file ); $entry -> extract ( "." ); // カレントディレクトリに展開します } rar_close ( $rar_file ); ?> 参考 RarEntry::getStream() - このエントリのファイルハンドラを取得する rar:// wrapper 他のマニュアルの関連ページ Linux JM pwd(1) Linux JM chpasswd(8 ...
-
https://man.mtool.work/php/8.3/rarentry.extract.html
- Zip | PHP 8.3 7740
- Zip はじめに この拡張モジュールにより、ZIP 圧縮されたアーカイブとその内部のファイルに対する透過的な読み書きが可能となります。 インストール/設定 要件 インストール手順 リソース型 定義済み定数 例 ZipArchive — ZipArchive クラス ZipArchive::addE
... エントリの名前を返す ZipArchive::getStatusString — システムエラー、または ZIP メッセージに関するエラー情報を返す ZipArchive::getStream — 名前を使用して、エントリのファイルハンドラ (読み込み専用) を取得する ZipArchive::getStreamIndex — インデックスで指定され ... たエントリへの、ファイルハンドラを取得する(読み取り専用) ZipArchive::getStreamName — 名前で指定されたエントリへの、ファイルハンドラを取得する(読み取り専用) ZipArchive::isCompressionMethodSupported — 圧 ...
-
https://man.mtool.work/php/8.3/book.zip.html
- サンプル | PHP 8.3 7186
- サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例
... ry::getMethod の例 Example#964 - RarEntry::getName の例 Example#965 - RarEntry::getPackedSize の例 Example#966 - RarEntry::getStream の例 Example#967 - RarEntry::getUnpackedSize の例 Example#968 - RarEntry::getVersion の例 Example#969 - RarException::isUs ...
-
https://man.mtool.work/php/8.3/indexes.examples.html
PREV
1
NEXT