« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 150 for Login (0.002 sec.)
ユーザー定義のフィルタ 11293
« 除去フィルタ 例 » PHP Manual 定義済み定数 ユーザー定義のフィルタ 検索 ユーザー定義のフィルタ 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能で ... ィルタ関数の呼び出しで返される値になります。 例1 ログイン名を検証するために FILTER_CALLBACK を使う例 <?php function validate_login ( string $value ): ? string { if ( strlen ( $value ) >= 5 && ctype_alnum ( $value )) { return $value ; } return null ; } $ ... login = "val1dL0gin" ; $filtered_login = filter_var ( $login , FILTER_CALLBACK , [ 'options' => 'validate_login' ]); var_dump ( $filtered_login ); $login = "f&ke ... login" ; $filtered_login = filter_var ( $login , FILTER_CALLBACK , [ 'options' => 'validate_login' ]); var_dump ( $filtered_logi ...
https://man.mtool.work/php/8.3/filter.constants.callback.html
ユーザー定義のフィルタ 11176
« 除去フィルタ 例 » PHP Manual 定義済み定数 ユーザー定義のフィルタ 検索 ユーザー定義のフィルタ 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能で ... ィルタ関数の呼び出しで返される値になります。 例1 ログイン名を検証するために FILTER_CALLBACK を使う例 <?php function validate_login ( string $value ): ? string { if ( strlen ( $value ) >= 5 && ctype_alnum ( $value )) { return $value ; } return null ; } $ ... login = "val1dL0gin" ; $filtered_login = filter_var ( $login , FILTER_CALLBACK , [ 'options' => 'validate_login' ]); var_dump ( $filtered_login ); $login = "f&ke ... login" ; $filtered_login = filter_var ( $login , FILTER_CALLBACK , [ 'options' => 'validate_login' ]); var_dump ( $filtered_logi ...
https://man.mtool.work/php/8.3/filter.constants.callback.html
RADIUS Attribute Types 10463
« RADIUS Packet Types RADIUS Vendor Specific Attribute Types » PHP Manual 定義済み定数 RADIUS Attribute Types 検索 RADIUS Attribute Types These constants define RADIUS attribute types that can be used with radius_put_addr() , radius_put_att ... us_put_int() . A number of constants are provided to represent the possible values of this attribute. They include: RADIUS_LOGIN RADIUS_FRAMED RADIUS_CALLBACK_LOGIN RADIUS_CALLBACK_FRAMED RADIUS_OUTBOUND RADIUS_ADMINISTRATIVE RADIUS_NAS_PROMPT RADIUS_ ... IUS_COMP_IPXHDR : IPX header compression RADIUS_COMP_STAC_LZS : Stac-LZS compression (added in PECL radius 1.3.0b2) RADIUS_LOGIN_IP_HOST ( int ) The Login-IP-Host attribute. The attribute value is expected to the IP address to connect the user to, enc ... oded as an int , which can be set using radius_put_addr() . RADIUS_LOGIN_SERVICE ( int ) The Login-Service attribute. The attribute value is an int indicating the service to connect the user to o ...
https://man.mtool.work/php/8.3/radius.constants.attributes.html
RADIUS Attribute Types 10463
« RADIUS Packet Types RADIUS Vendor Specific Attribute Types » PHP Manual 定義済み定数 RADIUS Attribute Types 検索 RADIUS Attribute Types These constants define RADIUS attribute types that can be used with radius_put_addr() , radius_put_att ... us_put_int() . A number of constants are provided to represent the possible values of this attribute. They include: RADIUS_LOGIN RADIUS_FRAMED RADIUS_CALLBACK_LOGIN RADIUS_CALLBACK_FRAMED RADIUS_OUTBOUND RADIUS_ADMINISTRATIVE RADIUS_NAS_PROMPT RADIUS_ ... IUS_COMP_IPXHDR : IPX header compression RADIUS_COMP_STAC_LZS : Stac-LZS compression (added in PECL radius 1.3.0b2) RADIUS_LOGIN_IP_HOST ( int ) The Login-IP-Host attribute. The attribute value is expected to the IP address to connect the user to, enc ... oded as an int , which can be set using radius_put_addr() . RADIUS_LOGIN_SERVICE ( int ) The Login-Service attribute. The attribute value is an int indicating the service to connect the user to o ...
https://man.mtool.work/php/8.3/radius.constants.attributes.html
FTP 接続にログインする 8148
« 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 ... onnection のインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 ftp_login() の例 <?php $ftp_server = "ftp.example.com" ; $ftp_user = "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 $f ... tp_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 接続にログインする 8148
« 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 ... onnection のインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 ftp_login() の例 <?php $ftp_server = "ftp.example.com" ; $ftp_user = "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 $f ... tp_user \n" ; } // 接続を閉じる ftp_close ( $ftp ); ?> 関連キーワード: 接続 ログイン login server user Connection connect username password インスタンス 期待 pass Couldn option mdtm SensitiveParameter ユーザー名 パ ...
https://man.mtool.work/php/8.3/function.ftp-login.html
別のアクションに転送する 7844
« Yaf_Controller_Abstract::display Yaf_Controller_Abstract::getInvokeArg » PHP Manual Yaf_Controller_Abstract 別のアクションに転送する 検索 Yaf_Controller_Abstract::forward (Yaf >=1.0.0) Yaf_Controller_Abstract::forward — 別のアクションに転 ... er_Abstract::forward() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction (){ $logined = $_SESSION [ "login" ]; if (! $logined ) { $this -> forward ( "login" , array( "from" => "Index" )); // login アクション ... す。ここで現在の作業フローが終了し、 // Yaf に対して自動レンダリングをしないよう指示します。 } // 別の処理 } public function loginAction () { echo "login, redirected from " , $this -> _request -> getParam ( "from" ) , " action" ; } } ?> 上の例の出力は、 ... たとえば以下のようになります。 login, redirected from Index action 参考 Yaf_Request_Abstrace::getParam() 関連キーワード: Yaf Controller Abstract アクション for ...
https://man.mtool.work/php/8.3/yaf-controller-abstract.forward.html
別のアクションに転送する 7785
« Yaf_Controller_Abstract::display Yaf_Controller_Abstract::getInvokeArg » PHP Manual Yaf_Controller_Abstract 別のアクションに転送する 検索 Yaf_Controller_Abstract::forward (Yaf >=1.0.0) Yaf_Controller_Abstract::forward — 別のアクションに転 ... er_Abstract::forward() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction (){ $logined = $_SESSION [ "login" ]; if (! $logined ) { $this -> forward ( "login" , array( "from" => "Index" )); // login アクション ... す。ここで現在の作業フローが終了し、 // Yaf に対して自動レンダリングをしないよう指示します。 } // 別の処理 } public function loginAction () { echo "login, redirected from " , $this -> _request -> getParam ( "from" ) , " action" ; } } ?> 上の例の出力は、 ... たとえば以下のようになります。 login, redirected from Index action 参考 Yaf_Request_Abstrace::getParam() 関連キーワード: Controller Abstract アクション forward ...
https://man.mtool.work/php/8.3/yaf-controller-abstract.forward.html
セキュアな SSL-FTP 接続をオープンする 7552
« ftp_size ftp_systype » PHP Manual FTP 関数 セキュアな SSL-FTP 接続をオープンする 検索 ftp_ssl_connect (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_ssl_connect — セキュアな SSL-FTP 接続をオープンする 説明 function ftp_ssl_connect ( string $ho ... をオープンします。 これは、サーバー側が SSL-FTP 接続に対応していなくても、 ftp_ssl_connect() は成功するということです。 ftp_login() をコールし、 クライアントが適切な AUTH FTP コマンドを送信した時点ではじめて、 ftp_login() が失敗することになります。 ftp ... onnect() の例 <?php // SSL 接続を確立する $ftp = ftp_ssl_connect ( $ftp_server ); // ユーザー名とパスワードでログインする $login_result = ftp_login ( $ftp , $ftp_user_name , $ftp_user_pass ); if (! $login_result ) { // この場合は、すでに PHP 側で E_WA ... RNING レベルのメッセージを発行しています。 die( "can't login" ); } echo ftp_pwd ( $ftp ); // SSL 接続を閉じる ftp_close ( $ftp ); ?> 参考 ftp_connect() - FTP 接続をオープンする 関連キ ...
https://man.mtool.work/php/8.3/function.ftp-ssl-connect.html
セキュアな SSL-FTP 接続をオープンする 7552
« ftp_size ftp_systype » PHP Manual FTP 関数 セキュアな SSL-FTP 接続をオープンする 検索 ftp_ssl_connect (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_ssl_connect — セキュアな SSL-FTP 接続をオープンする 説明 function ftp_ssl_connect ( string $ho ... をオープンします。 これは、サーバー側が SSL-FTP 接続に対応していなくても、 ftp_ssl_connect() は成功するということです。 ftp_login() をコールし、 クライアントが適切な AUTH FTP コマンドを送信した時点ではじめて、 ftp_login() が失敗することになります。 ftp ... onnect() の例 <?php // SSL 接続を確立する $ftp = ftp_ssl_connect ( $ftp_server ); // ユーザー名とパスワードでログインする $login_result = ftp_login ( $ftp , $ftp_user_name , $ftp_user_pass ); if (! $login_result ) { // この場合は、すでに PHP 側で E_WA ... RNING レベルのメッセージを発行しています。 die( "can't login" ); } echo ftp_pwd ( $ftp ); // SSL 接続を閉じる ftp_close ( $ftp ); ?> 参考 ftp_connect() - FTP 接続をオープンする 関連キ ...
https://man.mtool.work/php/8.3/function.ftp-ssl-connect.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT