We have insim on our server and would like to change this code.
Does anyone know to make this code, so it sends to 1 person only, IE the person who asks the request...
Thank you
Mick
private function MsgToConnection($ucid, $message, $plid=0)
{
$this->server->sendp(new IS_MTC($ucid, "/msg $message", $plid));
}
private function MsgToConnection($message, $ucid=0, $plid=0)
{
$this->server->sendp(new IS_MTC($ucid, "/msg $message", $plid));
}
$this->MsgToConnection("Hello, world!", $plid=12)
<?php
function MsgToConnection($message, $ucid=0, $plid=0)
{
var_dump($ucid, $plid);
}
MsgToConnection('Hello, World!', $plid=12);
function test($var1, $var2, $var3)
{
echo $var1, $var2, $var3, PHP_EOL;
}
test($var3='baz', $var2='bar', $var1='foo');
var_dump($var='value');
?>