-dt-
Scripting Contest Winner
    

;o
Posts: 1818 Reputation: 74
36 / / 
Joined: Mar 2004
|
RE: {CODE} PHP MSN Signature Generator (MSGPlus enabled)
your code isnt that great =p
anyway
the colors
code: $plus_colors = Array(
"FFFFFF",
"000000",
"00007F",
"009300",
"FF0000",
"7F0000",
"9C009C",
"FC7F00",
"FFFF00",
"00FC00",
"009393",
"00FFFF",
"0000FF",
"FF00FF",
"7F7F7F",
"D2D2D2",
"E7E6E4",
"CFCDD0",
"FFDEA4",
"FFAEB9",
"FFA8FF",
"B4B4FC",
"BAFBE5",
"C1FFA3",
"FAFDA2",
"B6B4B7",
"A2A0A1",
"F9C152",
"FF6D66",
"FF62FF",
"6C6CFF",
"68FFC3",
"8EFF67",
"F9FF57",
"858482",
"6E6D7B",
"FFA01E",
"F92611",
"FF20FF",
"202BFF",
"1EFFA5",
"60F913",
"FFF813",
"5E6464",
"4B494C",
"D98812",
"EB0505",
"DE00DE",
"0000D3",
"03CC88",
"59D80D",
"D4C804",
"333335",
"18171C",
"944E00",
"9B0008",
"980299",
"01038C",
"01885F",
"389600",
"9A9E15",
"473400",
"4D0000",
"5F0162",
"000047",
"06502F",
"1C5300",
"544D05"
);
Bold
code: $nicknameBold =chr(183) . '$';
$bold = chr(3) ;
Underline
code: $nicknameUnderline = chr(183) . "'";
$underline = chr(5);
Italic
code: $nicknameItalic = chr(183) . '@';
$italic = chr(31);
and the emoticons
http://random.thedt.net/elvish/msn/emotcions/ (yes i know its spelt wrong  )
also don't count on url wrappers being enabled use something like this instead
code: function download($file){
if(extension_loaded('curl')){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $file);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}else{
return file_get_contents($file);
}
}
This post was edited on 06-18-2006 at 01:03 PM by -dt-.
Happy Birthday, WDZ
|
|