« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 30 for Couldn (0.003 sec.)
FTP 接続にログインする 12249
« ftp_get_option ftp_mdtm » PHP Manual FTP 関数 FTP 接続にログインする 検索 ftp_login (PHP 4, PHP 5, PHP 7, PHP 8) ftp_login — FTP 接続にログインする 説明 function ftp_login ( FTP\Connection $ftp , string $username , #[ \SensitiveParameter ... er = "foo" ; $ftp_pass = "bar" ; // 接続を確立する。接続に失敗したら終了する。 $ftp = ftp_connect ( $ftp_server ) or die( "Couldn't connect to $ftp_server " ); // ログインを試みる if (@ ftp_login ( $ftp , $ftp_user , $ftp_pass )) { echo "Connected as $ ... ftp_user @ $ftp_server \n" ; } else { echo "Couldn't connect as $ftp_user \n" ; } // 接続を閉じる ftp_close ( $ftp ); ?> 関連キーワード: ftp 接続 ログイン login server user ... Connection 場合 失敗 connect string username password インスタンス バージョン 期待 pass Couldn echo close ...
https://man.mtool.work/php/8.3/function.ftp-login.html
FTP 接続にログインする 12249
« ftp_get_option ftp_mdtm » PHP Manual FTP 関数 FTP 接続にログインする 検索 ftp_login (PHP 4, PHP 5, PHP 7, PHP 8) ftp_login — FTP 接続にログインする 説明 function ftp_login ( FTP\Connection $ftp , string $username , #[ \SensitiveParameter ... er = "foo" ; $ftp_pass = "bar" ; // 接続を確立する。接続に失敗したら終了する。 $ftp = ftp_connect ( $ftp_server ) or die( "Couldn't connect to $ftp_server " ); // ログインを試みる if (@ ftp_login ( $ftp , $ftp_user , $ftp_pass )) { echo "Connected as $ ... ftp_user @ $ftp_server \n" ; } else { echo "Couldn't connect as $ftp_user \n" ; } // 接続を閉じる ftp_close ( $ftp ); ?> 関連キーワード: 接続 ログイン login server user Conn ... ection connect username password インスタンス 期待 pass Couldn option mdtm SensitiveParameter ユーザー名 パスワード 成功 履歴 resource example 確立 Connected else ...
https://man.mtool.work/php/8.3/function.ftp-login.html
例 10657
« インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input - ... $c ) $c = NULL ; } public function __construct ( $port ) { $this -> base = new EventBase (); if (! $this -> base ) { echo "Couldn't open event base" ; exit( 1 ); } // Variant #1 /* $this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); if (!sock ... tener :: OPT_CLOSE_ON_FREE | EventListener :: OPT_REUSEABLE , - 1 , "0.0.0.0: $port " ); if (! $this -> listener ) { echo "Couldn't create listener" ; exit( 1 ); } $this -> listener -> setErrorCallback (array( $this , "accept_error_cb" )); } public fun ... his -> ctx ) { exit( "Failed creating SSL context\n" ); } $this -> base = new EventBase (); if (! $this -> base ) { exit( "Couldn't open event base\n" ); } $this -> listener = new EventListener ( $this -> base , array( $this , "ssl_accept_cb" ), $this ...
https://man.mtool.work/php/8.3/event.examples.html
例 10657
« インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input - ... $c ) $c = NULL ; } public function __construct ( $port ) { $this -> base = new EventBase (); if (! $this -> base ) { echo "Couldn't open event base" ; exit( 1 ); } // Variant #1 /* $this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); if (!sock ... tener :: OPT_CLOSE_ON_FREE | EventListener :: OPT_REUSEABLE , - 1 , "0.0.0.0: $port " ); if (! $this -> listener ) { echo "Couldn't create listener" ; exit( 1 ); } $this -> listener -> setErrorCallback (array( $this , "accept_error_cb" )); } public fun ... his -> ctx ) { exit( "Failed creating SSL context\n" ); } $this -> base = new EventBase (); if (! $this -> base ) { exit( "Couldn't open event base\n" ); } $this -> listener = new EventListener ( $this -> base , array( $this , "ssl_accept_cb" ), $this ...
https://man.mtool.work/php/8.3/event.examples.html
bzip2 圧縮されたファイルをオープンする 10186
« bzflush bzread » PHP Manual Bzip2 関数 bzip2 圧縮されたファイルをオープンする 検索 bzopen (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) bzopen — bzip2 圧縮されたファイルをオープンする 説明 function bzopen ( string | resource $file , string $mode ... ファイルへのポインタが返されます。 例 例1 bzopen() の例 <?php $file = "/tmp/foo.bz2" ; $bz = bzopen ( $file , "r" ) or die( "Couldn't open $file for reading" ); bzclose ( $bz ); ?> 参考 bzclose() - bzip2 ファイルを閉じる 関連キーワード: bzopen オープン b ... zip 圧縮 resource mode bzclose bzflush bzread Bzip 読み書き 既存 ストリーム リソース 読み込み 書き込み サポート ポインタ Couldn reading 参考 ...
https://man.mtool.work/php/8.3/function.bzopen.html
リモート FTP サーバーのシステム型 ID を返す 10186
« ftp_ssl_connect FTP\Connection » PHP Manual FTP 関数 リモート FTP サーバーのシステム型 ID を返す 検索 ftp_systype (PHP 4, PHP 5, PHP 7, PHP 8) ftp_systype — リモート FTP サーバーのシステム型 ID を返す 説明 function ftp_systype ( FTP\Conne ... ); // システム型を取得する if ( $type = ftp_systype ( $ftp )) { echo "Example.com is powered by $type \n" ; } else { echo "Couldn't get the systype" ; } ?> 上の例の出力は、 たとえば以下のようになります。 Example.com is powered by UNIX 関連キーワード: s ... サーバー Connection connect インスタンス 期待 type Example powered 履歴 resource 接続 確立 example login user password else Couldn ...
https://man.mtool.work/php/8.3/function.ftp-systype.html
バイナリ対応の bzip2 ファイル読み込み 9503
« bzopen bzwrite » PHP Manual Bzip2 関数 バイナリ対応の bzip2 ファイル読み込み 検索 bzread (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) bzread — バイナリ対応の bzip2 ファイル読み込み 説明 function bzread ( resource $bz , int $length = 1024 ): stri ... くはエラー時に false を返します。 例 例1 bzread() の例 <?php $file = "/tmp/foo.bz2" ; $bz = bzopen ( $file , "r" ) or die( "Couldn't open $file " ); $decompressed_file = '' ; while (! feof ( $bz )) { $decompressed_file .= bzread ( $bz , 4096 ); } bzclos ... bzip 圧縮 バイナリ bzopen length ポインタ バイト decompressed bzwrite オープン 一度 feof Bzip resource 読み込み 最初 最大 Couldn while bzclose contents 参考 書き込み 終端 ...
https://man.mtool.work/php/8.3/function.bzread.html
Creates new connection listener associated with an event base 8366
« EventListener EventListener::disable » PHP Manual EventListener Creates new connection listener associated with an event base 検索 EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection l ... $c ) $c = NULL ; } public function __construct ( $port ) { $this -> base = new EventBase (); if (! $this -> base ) { echo "Couldn't open event base" ; exit( 1 ); } // Variant #1 /* $this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); if (!sock ... tener :: OPT_CLOSE_ON_FREE | EventListener :: OPT_REUSEABLE , - 1 , "0.0.0.0: $port " ); if (! $this -> listener ) { echo "Couldn't create listener" ; exit( 1 ); } $this -> listener -> setErrorCallback (array( $this , "accept_error_cb" )); } public fun ...
https://man.mtool.work/php/8.3/eventlistener.construct.html
Creates new connection listener associated with an event base 8366
« EventListener EventListener::disable » PHP Manual EventListener Creates new connection listener associated with an event base 検索 EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection l ... $c ) $c = NULL ; } public function __construct ( $port ) { $this -> base = new EventBase (); if (! $this -> base ) { echo "Couldn't open event base" ; exit( 1 ); } // Variant #1 /* $this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); if (!sock ... tener :: OPT_CLOSE_ON_FREE | EventListener :: OPT_REUSEABLE , - 1 , "0.0.0.0: $port " ); if (! $this -> listener ) { echo "Couldn't create listener" ; exit( 1 ); } $this -> listener -> setErrorCallback (array( $this , "accept_error_cb" )); } public fun ...
https://man.mtool.work/php/8.3/eventlistener.construct.html
Create a new SSL buffer event to send its data over another buffer event 7911
« EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv ... SIGNED => true // change to false with authentic cert ]); $this -> base = new EventBase (); if (! $this -> base ) { exit( "Couldn't open event base\n" ); } if (! $this -> listener = new EventListener ( $this -> base , [ $this , 'ev_accept' ], $this -> ... ctx , EventListener :: OPT_CLOSE_ON_FREE | EventListener :: OPT_REUSEABLE , - 1 , '0.0.0.0:25' )) { exit( "Couldn't create listener\n" ); } $this -> listener -> setErrorCallback ([ $this , 'ev_error' ]); $this -> base -> dispatch (); } ...
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
PREV 1 2 3 NEXT