PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

msg_stat_queue> <msg_send
Last updated: Fri, 04 Jul 2008

view this page in

msg_set_queue

(PHP 4 >= 4.3.0, PHP 5)

msg_set_queue — メッセージキューデータ構造体の情報を設定する

説明

bool msg_set_queue ( resource $queue , array $data )

msg_set_queue() により、メッセージキューデータ構造体の msg_perm.uid、msg_perm.gid、msg_perm.mode および msg_qbytes フィールドを 変更することが可能です。

データ構造体を変更するには、PHP の実行ユーザがキューの作成者あるいは (現在の msg_perm.xxx フィールドで指定されている)キューの所有者であるか、 あるいは root 権限を有している必要があります。msg_qbytes の値を システムで定義した制限をこえて設定するには、root 権限が必要です。

パラメータ

queue

メッセージキューのリソースハンドル。

data

設定したい値を、data 配列に設定します。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
msg_set_queue
webmaster at toolshed51 dot com
16-May-2003 03:50
Example:
$msg_id = msg_get_queue (12341234, 0600);
msg_set_queue ($msg_id, array ('msg_perm.uid'=>'80'));

List of all possible keys at documentation for msg_stat_queue

msg_stat_queue> <msg_send
Last updated: Fri, 04 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites