text
stringlengths 1
254
| output
stringlengths 2
255
|
---|---|
Prev
|
sybase_data_seek() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
An array that corresponds to the fetched row, or FALSE if there are no more rows.
|
返り値: 取り込んだ行が指す配列、または、もう行がない場合には FALSE 。
|
In addition to storing the data in the numeric indices of the result array, it also stores the data in associative indices, using the field names as keys.
|
sybase_fetch_array() は、 sybase_fetch_row() の拡張版です。データを結果配 列の数値インデックスに保存するのに加えて、フィールド名をキーとし た連想インデックスにもデータを保存します。
|
For further details, also see sybase_fetch_row().
|
sybase_fetch_array() を使用した場合でも、かなり の機能が付加されるにもかかわらず、 sybase_fetch_row() を使用した場合に比べて著しく 遅くなるということはないということを重要なこととして記しておきます。
|
sybase_data_seek
|
更に詳細な情報については、 sybase_fetch_row() も参照下さい。
|
Prev
|
(PHP 3, PHP 4)
|
Returns an object containing field information.
|
フィールド情報を有するオブジェクトを返します。
|
If the field offset isn' t specified, the next field that wasn't yet retreived by sybase_fetch_field() is retreived.
|
sybase_fetch_field() は、あるクエリーに対する結 果において、フィールドに関する情報を得るために使用することができます。 フィールドオフセットが指定されない場合、 sybase_fetch_field() によりまだ取り込まれていな い次のフィールドが取り込まれます。
|
The properties of the object are:
|
オブジェクトのプロパティを以下に示します。
|
column_source - the table from which the column was taken
|
name - カラム名。そのカラムがある関数の結果である場合、 このプロパティは、computed#N にセットされます。ただし、#N はシリアル ナンバーです。
|
numeric - 1 if the column is numeric
|
column_source - そのカラムが取り出されたテーブル
|
See also sybase_field_seek()
|
max_length - カラムの最大長
|
Home
|
numeric - そのカラムが数値である場合に 1
|
sybase_fetch_array
|
type - カラムのデータ型
|
sybase_fetch_object
|
sybase_field_seek() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
An object with properties that correspond to the fetched row, or FALSE if there are no more rows.
|
取り込まれた行に対するプロパティを有するオブジェクトを返します。 また、行がもうない場合に FALSE を返します。
|
Indirectly, that means that you can only access the data by the field names, and not by their offsets (numbers are illegal property names).
|
sybase_fetch_object() は、 sybase_fetch_array() に似ていますが、違いが一つ あります。それは、配列の代わりにオブジェクトを返すことです。 間接的に、つまり、フィールド名によりデータにアクセスすることのみが 可能で、そのオフセット値によりアクセスすることはできません。 (数値は、プロパティ名としては無効です。)
|
See also: sybase_fetch_array() and sybase_fetch_row().
|
速度面では、この関数は sybase_fetch_array() と同等であり、 sybase_fetch_row() とほとんど同じです。 (違いはわずかです。)
|
sybase_fetch_field
|
sybase_fetch_array() および sybase_fetch_row() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
An array that corresponds to the fetched row, or FALSE if there are no more rows.
|
取り込まれた行に対する配列、または、もう行がない場合は、 FALSE を 返します。
|
The row is returned as an array.
|
sybase_fetch_row() は、指定された結果IDが指す 結果から1行分のデータを取り込みます。行は配列として返されます。 各結果カラムはオフセット0から始まる配列オフセットに保持されます。
|
Subsequent call to sybase_fetch_row() would return the next row in the result set, or FALSE if there are no more rows.
|
連続的に sybase_fetch_rows() をコールした場合、 結果セットにおける次の行が返されます。 また、もう行がない場合は FALSE が返されます。
|
Prev
|
sybase_fetch_array() 、 sybase_fetch_object() 、 sybase_data_seek() 、 sybase_fetch_lengths() 、 sybase_result() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
If the next call to sybase_fetch_field() won't include a field offset, this field would be returned.
|
指定したフィールドオフセットに移動します。次にfield_offsetを指 定しないで sybase_fetch_field() をコールした場合、 このフィールドが返されます。
|
Prev
|
sybase_fetch_field() も参照下さい。
|
sybase_free_result() only needs to be called if you are worried about using too much memory while your script is running.
|
(PHP 3, PHP 4)
|
You may call sybase_free_result() with the result identifier as an argument and the associated result memory will be freed.
|
sybase_free_result() は、スクリプト実行時に大量 のメモリを使用することが懸念される場合にのみコールする必要があります。 結果メモリは、スクリプト終了時に自動的に開放されます。 結果IDを引数として sybase_freeresult() をコール することが可能で、関連する結果メモリは開放されます。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_get_last_message() returns the last message reported by the server.
|
sybase_get_last_message() はサーバーから返された 直近のメッセージを返します。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_min_client_severity() sets the minimum client severity level.
|
sybase_min_client_severity() はクライアントの severityレベルを最小に設定します。
|
See also: sybase_min_server_severity().
|
注意 この関数は、DBライブラリではなくCTライブラリインターフェースを 使用した場合にのみ使用可能です。
|
sybase_get_last_message
|
sybase_min_server_severity() も参照します。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_min_error_severity() sets the minimum error severity level.
|
sybase_min_error_severity() はエラー severity レベルを最小に設定します。
|
Prev
|
sybase_min_message_severity() も参照下さい。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_min_message_severity() sets the minimum message severity level.
|
sybase_min_message_severity() はメッセージの severity レベルを最小に設定します。
|
Prev
|
sybase_min_error_severity() も参照下さい。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_min_server_severity() sets the minimum server severity level.
|
sybase_min_server_severity() はサーバーの severityレベルを最小に設定する。
|
See also: sybase_min_client_severity().
|
注意 この関数は、DBライブラリではなくCTライブラリインターフェースを 使用している場合にのみ利用可能です。
|
sybase_min_message_severity
|
sybase_min_client_severity() も参照下さい。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_num_fields() returns the number of fields in a result set.
|
sybase_num_fields() は、結果セットにおけるフィー ルド数を返します。
|
Prev
|
sybase_db_query() 、 sybase_query() 、 sybase_fetch_field() 、 sybase_num_rows() も参照下さい。
|
Prev
|
(PHP 3, PHP 4)
|
sybase_num_rows() returns the number of rows in a result set.
|
sybase_num_rows() は、結果セットの行数を返します。
|
Prev
|
sybase_db_query() 、 sybase_query() 、 sybase_fetch_row() も返します。
|
Prev
|
(PHP 3, PHP 4)
|
Returns:
|
成功時に正のSybase持続リンクIDを、エラー時に FALSE を返します。
|
sybase_pconnect() acts very much like sybase_connect() with two major differences.
|
sybase_pconnect() は、2つの違いを除いて sybase_connect() と全く同様に動作します。
|
If one is found, an identifier for it will be returned instead of opening a new connection.
|
まず、接続時にこの関数は最初同じホスト、ユーザー名、パスワードで オープンされた(持続的)リンクを見つけようとします。 見つかった場合、新しい接続をオープンする代わりにこれに関する IDが返されます。
|
Instead, the link will remain open for future use (sybase_close() will not close links established by sybase_pconnect()()).
|
第二にSQL サーバーへの接続は、スクリプト実行終了時にクローズされません。 代わりに、このリンクは将来的に使用するさめにオープンされたままに なります。( sybase_close() は、 sybase_pconnect() により確立されたリンクを閉じま せん)
|
Prev
|
このため、この型のリンクは'持続的'と呼ばれます。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
A positive Sybase result identifier on success, or FALSE on error.
|
成功時に正のSybase結果IDを、エラーの時に FALSE を返します。
|
If the link identifier isn 't specified, the last opened link is assumed.
|
sybase_query() は、クエリーを指定されたリンクID が指すサーバー上で現在アクティブなデータベースに送信します。 リンクIDが指定されない場合、最後にオープンされたリンクが指定されたと 仮定されます。リンクがオープンされていない場合、この関数は、 sybase_connect() がコールされた時と同様にリンクを 確立しようと試み、これを使用します。
|
See also: sybase_db_query(), sybase_select_db(), and sybase_connect().
|
sybase_db_query() 、 sybase_select_db() 、 sybase_connect() も参照下さい。
|
Returns:
|
(PHP 3, PHP 4)
|
sybase_result() returns the contents of one cell from a Sybase result set.
|
指定されたSybase結果セットにおいて、指定した行および オフセットにおけるセルの内容を返します。
|
If the column name has been aliased ('select foo as bar from.. .'), use the alias instead of the column name.
|
sybase_result() は、Sybase結果セットからセルの 内容を返します。引数fieldは、フィールドのオフセット、フィールド名、 またはテーブル名.フィールド名とすることができます。カラム名のエイ リアスが定義されている場合('select foo as bar from...')、カラム名の 代わりにエイリアスを使用して下さい。
|
As these functions return the contents of multiple cells in one function call, they' re MUCH quicker than sybase_result().
|
大きな結果セットを処理する際には、(以下に示す) 行全体を取り込む関数の一つを使用することを考慮する必要があります。 これらの関数は、一回の関数コールで複数のセルの内容を返すので、 sybase_result() よりも著しく高速です。 また、field 引数において数値オフセットで指定するほうが、 フィールド名やテーブル名.フィールド名で指定するよりも 著しく高速であるということにも注意して下さい。
|
Recommended high-performance alternatives: sybase_fetch_row(), sybase_fetch_array(), and sybase_fetch_object().
|
推奨される高性能な代替案は次のようなものです: sybase_fetch_row() 、 sybase_fetch_array() 、 sybase_fetch_object()
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
TRUE on success, FALSE on error
|
成功時に TRUE 、エラーの場合に FALSE を返します。
|
If no link identifier is specified, the last opened link is assumed.
|
sybase_select_db() は指定されたリンクIDが指すデー タベースをサーバー上の現在アクティブなデータベースに設定します。 リンクIDが指定されない場合、最後にオープンされたリンクが指定されたと 仮定されます。 リンクがオープンされていない場合、この関数は、 sybase_connect() がコールされた時と同様に リンクを確立しようと試み、これを使用します。
|
Every subsequent call to sybase_query() will be made on the active database.
|
その後の sybase_query() のコールは、 このアクティブなデータベースにおいて行われます。
|
Prev
|
sybase_connect() 、 sybase_pconnect() 、 sybase_query() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
symlink() creates a symbolic link from the existing target with the specified name link.
|
symlink() は、指定されたリンク名 link で既存のファイル target へのシンボリックリンクを作成します。
|
See also link() to create hard links, and readlink() along with linkinfo().
|
ハードリンクを作るには link() 、そして readlink() と linkinfo() を参照下さい。
|
tempnam
|
注意 この関数はWindows環境にはまだ実装されていません。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
The remaining argument is the message to send, except that the two characters %m will be replaced by the error message string (strerror) corresponding to the present value of errno.
|
syslog() はシステムログが出力するログメッセージを 生成します。 priority は、容易さ(facility)と レベル(level)の組み合わせで、その値については、次節で説明します。 残りの引数は送信するメッセージです。ただし、文字 %m は、 errno の値に 対応するエラーメッセージ文字列(strerror)に置換されます。
|
Constant
|
表 1 syslog() の優先順位 (降順)
|
On Windows NT, the syslog service is emulated using the Event Log.
|
例 1 syslog() の使用例
|
Use of LOG_LOCAL0 through LOG_LOCAL7 for the facility parameter of openlog() is not available in Windows.
|
Windows NTでは、syslog サービスはイベントログを使用してエミュレー トされます。
|
Prev
|
define_syslog_variables(), openlog(), closelog() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
If a variable is provided as the second argument, then the return status code of the executed command will be written to this variable.
|
system() は、指定した command を実行し、結果を出力するC言語の system関数に似ています。2番目の引数として変数が指定された場合、実 行したコマンドのステータスコードが、この変数に書き込まれます。
|
If you are going to allow data coming from user input to be passed to this function, then you should be using escapeshellarg() or escapeshellcmd() to make sure that users cannot trick the system into executing arbitrary commands.
|
ユーザが入力したデータをこの関数に渡そうとする場合、 escapeshellarg() または escapeshellcmd() を使用して、ユーザがシステム をだまして、勝手なコマンドを実行することのないようにするべきです。
|
The system() call also tries to automatically flush the web server's output buffer after each line of output if PHP is running as a server module.
|
注意 この関数を使用してプログラム実行を開始し、バックグラウンドで実行 したままにしたい場合には、プログラムの出力をファイルまたは他の出 力ストリームにリダイレクトする必要があることにも注意して下さい。 さもないと、PHPはそのプログラムの実行が終了するまでハングします。
|
If you need to execute a command and have all the data from the command passed directly back without any interference, use the passthru() function.
|
PHPをサーバモジュールとして実行している場合、 system() のコールにより、各行を出力した後、 Webサーバの出力バッファが自動的にクリアされます。
|
Prev
|
成功時にコマンド出力の最後の行が返され、失敗時に FALSE が返されます。
|
shell_exec
|
コマンドを実行し、何の加工もせずに全てのデータをコマンドから直接 返す必要がある場合、 PassThru() 関数をお使いくだ さい。
|
Printer functions
|
exec(), PassThru(), popen(), EscapeShellCmd(), backtick 演算子 を参照下さい。
|
Prev
|
(PHP 4 = 4.1.0)
|
Returns the hyperbolic tangent of arg, defined as sinh( arg) / cosh(arg).
|
sinh(arg)/cosh(arg) で定義される arg の双曲線正接を返します。
|
Prev
|
tan(), atanh(), sin(), cos() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
The arg parameter is in radians.
|
argのタンジェントをラジアンで返します。
|
Prev
|
sin() と cos() も参照下さい。
|
Creates a file with a unique filename in the specified directory.
|
(PHP 3, PHP 4)
|
Prior to PHP 4.0.6, the behaviour of the tempnam() function was system dependent.
|
ユニークなテンポラリファイル名を指定したディレクトリに作成します。 指定したディレクトリが存在しない場合、 tempnam() は、システムのテンポラリディレクトリ にあるファイル名を生成し、その名前を返します。
|
Consult your system documentation on the tempnam( 3) function if in doubt.
|
PHP 4.0.6より前では、関数 tempnam() の動作はシス テムに依存していました。WindowsにおいてTMP環境変数は dir パラメータを上書きします。Linuxにおいて は、TMPDIR環境変数が優先されます。一方、SVR4においては指定したディ レクトリが存在する場合は、常に dir パラメー タを使用します。疑問がある場合は、tempnam(3)に関するシステムドキュ メントを参照下さい。
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.