« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for trusted (0.002 sec.)
db2_connect — データベースへの接続を返す | PHP 8.3 11947
db2_connect (PECL ibm_db2 >= 1.0.0) db2_connect — データベースへの接続を返す 説明 function db2_connect ( string $database , ? string $username , ? string $password , array $options = [] ): resource | false IBM DB2 Universal Database、IBM Cl ... niversal Database でしかサポートされていません。 以下の新しいオプションは、ibm_db2 のバージョン 1.7.0 以降で使用可能です。 trustedcontext DB2_TRUSTED_CONTEXT_ENABLE を渡すと、この接続ハンドルでの信頼済みコンテキストを有効にします。 このパラメータを db2_ ... ABASE= $database ;HOSTNAME= $hostname ;PORT= $port ; PROTOCOL=TCPIP;UID= $authID ;PWD= $auth_pass ;" ; $options = array ( "trustedcontext" => DB2_TRUSTED_CONTEXT_ENABLE ); $tc_conn = db2_connect ( $dsn , "" , "" , $options ); if( $tc_conn ) { echo "Expl ... icit trusted connection succeeded.\n" ; if( db2_get_option ( $tc_conn , "trustedcontext" )) { $userBefore = db2_get_option ( $tc_conn , ...
https://man.mtool.work/php/8.3/function.db2-connect.html
db2_pconnect — データベースへの持続的接続を返す | PHP 8.3 11947
db2_pconnect (PECL ibm_db2 >= 1.0.0) db2_pconnect — データベースへの持続的接続を返す 説明 function db2_pconnect ( string $database , ? string $username , ? string $password , array $options = [] ): resource | false IBM DB2 Universal Databas ... niversal Database でしかサポートされていません。 以下の新しいオプションは、ibm_db2 のバージョン 1.7.0 以降で使用可能です。 trustedcontext DB2_TRUSTED_CONTEXT_ENABLE を渡すと、この接続ハンドルでの信頼済みコンテキストを有効にします。 このパラメータを db2_ ... されるようになりました。 PECL ibm_db2 1.8.0 i5/OS ユーザーは i5_libl オプションが使えるようになりました。 PECL ibm_db2 1.7.0 trustedcontext オプションが使えるようになりました。 PECL ibm_db2 1.5.1 i5/OS ユーザーは i5_lib , i5_naming , i5_commit , i5_query_ ... ABASE= $database ;HOSTNAME= $hostname ;PORT= $port ; PROTOCOL=TCPIP;UID= $authID ;PWD= $auth_pass ;" ; $options = array ( "trustedcontext" => DB2_TRUSTED_CONTEXT_ENABLE ); $tc_conn = db2_pconnect ( $dsn , "" , "" , $options ); if( $tc_conn ) { echo "Exp ...
https://man.mtool.work/php/8.3/function.db2-pconnect.html
db2_set_option — 接続リソースあるいはステートメントリソースのオプションを設定す... 9362
db2_set_option (PECL ibm_db2 >= 1.0.0) db2_set_option — 接続リソースあるいはステートメントリソースのオプションを設定する 説明 function db2_set_option ( resource $resource , array $options , int $type ): bool ステートメントリソースあるいは接 ... 、取得する前に全行数を問い合わせることができません。 以下の新しいオプションが、ibm_db2 バージョン 1.7.0 以降で使用可能です。 trusted_user ユーザーを信頼済みユーザーに変更する際に、信頼済みユーザーのユーザー ID (文字列) をこのキーの値として渡します。 このオ ... ース上でのみ設定可能です。 このオプションを使用するには、 信頼済みコンテキストを接続リソース上で有効にしなければなりません。 trusted_password trusted_user キーで指定したユーザーに対応するパスワード (文字列)。 以下の新しいオプションが、ibm_db2 バージョン 1 ... X - i5_fetch_only DB2_I5_FETCH_OFF - X - rowcount DB2_ROWCOUNT_PREFETCH_ON - X - rowcount DB2_ROWCOUNT_PREFETCH_OFF - X - trusted_user <USER NAME> (文字列) X - - trusted_password <PASSWORD> (文字列) X - - userid SQL_ATTR_INFO_USERID X X - acctstr SQL_A ...
https://man.mtool.work/php/8.3/function.db2-set-option.html
SQLインジェクション | PHP 8.3 8729
SQLインジェクション SQLインジェクションは、 攻撃者が動的なSQLクエリを組み立てる責任があるアプリケーションコードの欠陥を突く手法です。 攻撃者は、アプリケーションの権限が必要な部分にアクセスでき、 データベースからすべての情報を引き出し、既存の ... を変更するために 値 ' or uid like'%admin% を $uid に代入するか、または、より多くの権限を得 るために、単純に $pwd に hehehe', trusted=100, admin='yes と設定すると、 このクエリは以下のように改ざんされてしまいます。 <?php // $uid: ' or uid like '%admin% $que ... ry = "UPDATE usertable SET pwd='...' WHERE uid='' or uid like '%admin%';" ; // $pwd: hehehe', trusted=100, admin='yes $query = "UPDATE usertable SET pwd='hehehe', trusted=100, admin='yes' WHERE ...;" ; ?> 攻撃者がデータベース ...
https://man.mtool.work/php/8.3/security.database.sql-injection.html
XML 外部エンティティの例 | PHP 8.3 7753
XML 外部エンティティの例 この例は、XML コードに焦点を当てます。この例は、他のドキュメント をインクルードし処理するための外部エンティティリファレンスのハン ドラの使用法およびPIの処理方法、PIが含むコードに関する"信頼度" を定義する手段を説明し ... 題ファイル ( xmltest.xml および xmltest2.xml ) にあります。 例1 外部エンティティの例 <?php $file = "xmltest.xml" ; function trustedFile ( $file ) { // only trust local files owned by ourselves if (! preg_match ( "@^([a-z][a-z0-9+.-]*)\:\/\/@i" , $file ) ... , $target , $data ) { switch ( strtolower ( $target )) { case "php" : global $parser_file ; // If the parsed document is "trusted", we say it is safe // to execute PHP code inside it. If not, display the code // instead. if ( trustedFile ( $parser_file ... [ $parser ])) { eval( $data ); } else { printf ( "Untrusted PHP code: <i>%s</i>" , htmlspecialchars ( $data )); } break; } } function defaultHandler ( $parser , $data ) { if ( substr ...
https://man.mtool.work/php/8.3/example.xml-external-entity.html
mb_send_mail — エンコード変換を行ってメールを送信する | PHP 8.3 7753
mb_send_mail (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) mb_send_mail — エンコード変換を行ってメールを送信する 説明 function mb_send_mail ( string $to , string $subject , string $message , array | string $additional_headers = [] , ? string $addit ... サーバーの実行ユーザーを sendmail 設定に追加しておく必要があるかもしれません。 sendmail を利用している場合、これは /etc/mail/trusted-users で設定します。 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 8.0.0 addit ...
https://man.mtool.work/php/8.3/function.mb-send-mail.html
mail — メールを送信する | PHP 8.3 7428
mail (PHP 4, PHP 5, PHP 7, PHP 8) mail — メールを送信する 説明 function mail ( string $to , string $subject , string $message , array | string $additional_headers = [] , string $additional_params = "" ): bool メールを送信します。 パラメータ ... サーバーの実行ユーザーを sendmail 設定に追加しておく必要があるかもしれません。 sendmail を利用している場合、これは /etc/mail/trusted-users で設定します。 戻り値 メール送信が受け入れられた場合に true 、それ以外の場合に false を返します。 メールの配送が受け ...
https://man.mtool.work/php/8.3/function.mail.html
MongoDB\Driver\Manager::__construct — Create new MongoDB Manager | PHP 8.3 7265
MongoDB\Driver\Manager::__construct (mongodb >=1.0.0) MongoDB\Driver\Manager::__construct — Create new MongoDB Manager 説明 final public function MongoDB\Driver\Manager::__construct ( ? string $uri = null , ? array $uriOptions = null , ? ar ... e-middle attack . tlsCAFile string Path to file with either a single or bundle of certificate authorities to be considered trusted when making a TLS connection. The system certificate store will be used by default. tlsCertificateKeyFile string Path to t ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.construct.html
PREV 1 NEXT