
27/07/2002, 14:20
|
O_O | | Fecha de Ingreso: enero-2002 Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 23 años, 2 meses Puntos: 129 | |
Re: ICQ Status Lo del MSN .. lo ando buscando jeje (.. asi q si lo saben .. pues que lo digan xD).
Lo del ICQ es esto:
Código:
<?
//
// PHP Page ICQ
// version 0.1
// Public Domain
//
// send a message to any ICQ user via a PHP function
//
// "This function uses the ICQ World-Wide Pager.
// The ICQ World-Wide Pager is for personal use only.
// Mass paging, mailing and spamming are strictly prohibited
// and infringing the ICQ Terms of Service. Your message is
// stamped with your IP address and the time of sending."
//
// useage:
//
// page_icq( UIN, FROM, FROMEMAIL, MESSAGE )
//
// UIN - ICQ user identification number
// from - name of the sender
// fromemail - email address of the sender
// message - text message, limit 450 characters encoded
//
// examples:
//
// $message = 'Page ICQ invoked by: ' . $REMOTE_ADDR;
// $uin = 00000; // replace with a valid ICQ UIN
// $from = 'ghost';
// $fromemail = 'inthemachine';
// page_icq( $uin, $from, $formemail, $message );
//
// page_icq( 00000, 'ghost', 'inthemachine', "Page ICQ invoked by: $REMOTE_ADDR");
//
function page_icq( $uin, $from, $fromemail, $msg ) {
// build the url, using the input variables, with the
// message urlencoded and chopped to ICQ limit of 450 characters
$url = 'http://web.icq.com/whitepages/page_me/1,,,00.html?'
. 'to=' . $uin . '&from=' . $from . '&fromemail='
. $fromemail . '&body=' . substr( urlencode($msg), 0, 450);
// send the url to ICQ, ignore all errors and output
$fp = @fopen( $url, "r");
return;
}
page_icq("46450xxx","PHP","[email protected]","Probando ICQ messager via PHP");
?>
Como ves .. hace eso, arma un URL y se lo envia directo abriendo el URL que forma.
Un saludo, |