Zend - The PHP Company




Chat

Add Code


BNM's PHP AnonyChat  

Type: application
Added by: bagusnm
Entered: 22/06/2004
Last modified: 07/12/2003
Rating: ** (3 votes)
Views: 7728
Very very Simple Chat Client... but it's can be so nice, when we're blocked to connect to the IRC SERVER. we can anonymously connect to the IRC Server it's able also to connect behind blocked firewall just try it and feel free to copy it, piss :)


<?php
if (md5($pwd)=="1ccaa53980220dd529f99c450c3a8a0a"// ==> MD5 result for "takepon"
{
?>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>:: CGI IRC Services ::</title>

</head>

<body>
<b>CGI IRC Service</b><hr>
<form name="frm">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="104%" id="AutoNumber1" height="187">
  <tr>
    <td width="100%" height="70" colspan="4">
    <p align="center"><u><b><font size="4">Please change these parameters</font></b></u></td>
  </tr>
  <tr>
    <td width="19%" height="40">&nbsp;</td>
    <td width="18%" height="40"><b>Nick :</b></td>
    <td width="22%" height="40" align="center">
      <input type="text" value="UNiQUE" name="nick" size="20"></td>
    <td width="33%" rowspan="3" height="118">
    <p align="center"><b>Please select Host:</b><br>
    <select size="1" name="D1">
    <option selected value="http://chat.dikt.no/cgi-bin/irc.cgi">Chat Diktno
    </option>
    <option value="http://www.jenny.fm/cgi-bin/webchat/irc.cgi">Jenny FM
    </option>
    <option value="http://www.polarhome.com/cgi-bin/chat/irc.cgi">Polarhome
    </option>
    <option value="http://www.apokalyptik.com/cgichat/irc.cgi">Apokalyptik
    </option>
    <option value="http://irc.kharkov.net/cgi-bin/irc.cgi">Kharkov</option>
    <option value="http://chatevent.kpnwebcast.com/cgi-bin/irc.cgi">Chat Event
    </option>
    <option value="http://www.vegetafics.net/chat/irc.cgi">Vegetafics</option>
    <option value="http://irc.midnight.hu/irc.cgi">Midnight</option>
    <option value="http://irc.yadanar.com/cgi-bin/cgiirc/irc.cgi">Yadanar
    </option>
    <option value="http://www.suffkoeppe-clan.de/cgi-bin/irc.cgi">Suff Koeppe Clan
    </option>
    </select></td>
  </tr>
  <tr>
    <td width="21%" height="35">&nbsp;</td>
    <td width="8%" height="35"><b>Server :</b></td>
    <td width="22%" height="35" align="center">
      <input type="text" value="irc.telkom.net.id" name="server" size="20"></td>
  </tr>
  <tr>
    <td width="21%" height="36">&nbsp;</td>
    <td width="8%" height="36"><b>Channel (no #) :</b></td>
    <td width="22%" height="36" align="center">
      <input type="text" value="Moklet" name="channel" size="20"></td>
  </tr>
  <tr>
    <td width="21%" height="46">&nbsp;</td>
    <td width="8%" height="46"></td>
    <td width="22%" height="46">
    <p align="center"><br>
    <input type="button" onclick="Cok()" value="Connect">&nbsp;&nbsp;&nbsp;
    <input onclick="window.close()" type="button" value="Close" name="B2"></td>
    <td width="47%" height="39">&nbsp;</td>
  </tr>
</table>
<script language=vbscript>
sub Cok
  if frm.nick.value="" or frm.server.value="" or frm.channel.value="" then 
     msgbox "Isi semua donk: Nick, Server dan Channel!!",64,"Goblik!!"
  else
     window.open frm.D1.value & "?interface=ie&port=6667&Realname=%3A%3A+BNM%27s+CGI+Service+%3A%3A&Nickname=" & frm.nick.value & "&Server=" & frm.server.value & "&Channel=%23" & frm.channel.value,"bnm","resizable=yes"
  end if
end sub
</script>
</form>
<hr>
<p align="center"><a href="begundal.png">Copyleft � BNM's Network Research Team</p>
</body>

</html>
<?
}
else
print 
"<center><img src='http://unique.50free.net/imgs/4_1_.gif'><br><br><b>Go away lamer ...</b><br><br><form method=post action=$PHP_SELF><pre>Pwd: <input type=password name=pwd> <input value='I am Not a Lamer!' type=submit></form></center>";
?>


Usage Example


See the example


Rate This Script





Search



This Category All Categories