可以通过本程序用web方式给icq用户发送信息,源文件:
<?php /* ICQ Pager
by Linux Pie [email protected]
http://www.qqbonbon.com.com/
this is a very trivial script, but i didn't know how to do it initially so
maybe it will be helpful to others. it uses mirabilis' icq pager system to
send an ICQ message to a specified UIN. thanks to ross "the boss" at
activestudios.net. i use this script to alert me if someone enters our
product support chat. */
if ($send) {
function ICQpage ($uin, $subject, $message) {
mail ( $uin.'@pager.icq.com',
$subject,
$message ); } ICQpage($uin, $subject, $message);
echo "send ok"; exit; } ?>
<form action="<?php echo $PHP_SELF?>" method="POST">
uin:<input type=text size=20 name=uin><br>
subject:<input type=text size=20 name=subject><br>
message:<input type=text size=20 name=message><br>
<input type=submit name=send value=send><br>
</form>
|
|