problem mit der größe
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
-
Servus Leute, ich will nen chat laufen lassen und wollte wissen wie ich es hibbekomme das des ding net so gro? is:
http://eineente.ei.funpic.de/chat/login.php?user=ente&pw=123456&room=default
<table width="654" cellpadding="4" cellspacing="1"> <? $oldpw = $pw; $pw = md5($pw); #LOGIN BEREICH $get = mysql_query("SELECT * FROM cchat_user WHERE user='$user'"); $get_info = mysql_fetch_array($get); if ($pw == $get_info['pw']) { if($change == "room") { $room = "$newroom"; } $login_room = $room; $room = "croom_$room"; echo "<table border=\"0\">"; echo "<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <td width="100%"> <td width="319">"; echo "<iframe src=%22about:blank/%22 frameborder=\"0\" scrolling=\"no\" name=output width=\"800\" height=\"300\"></iframe>"; echo "</td>"; echo "<td width="320">R?ume:<br><br>"; ?> <? $load_rooms = mysql_query("SHOW tables like 'croom_%'"); while ($output = mysql_fetch_array($load_rooms)) { $core_room = substr($output[0], 6); echo "<a href=\"login.php?user=$user&pw=$oldpw&change=room&newroom=$core_room\">$core_room</a><br>"; } ?> <br> Menu:<br><br> <script language="JavaScript"> function smile() { add = window.open("smile.php","win","width=300,height=520,location=0,menubar=0,personalbar=0,status=0,scrollbars"); add.focus(); } function command() { add = window.open("command.php","win","width=300,height=520,location=0,menubar=0,personalbar=0,status=0,scrollbars"); add.focus(); } </script> <a href="javascript:command();">Befehle</a><br> <? if($smiles == 1) { ?> <a href="javascript:smile();">Smilies</a> <? } echo "</td></tr></table>"; echo "<iframe src=\"msg.php?user=$user&pw=$pw&room=$room\" scrolling=\"no\" frameborder=\"0\" name=input width=\"500\" height=\"100\"></iframe>"; echo "<iframe src=%22java.php?room=$room/" frameborder=\"0\" name=input width=\"0\" height=\"0\"></iframe>"; } else { echo "Passwort falsh oder User nicht vorhanden"; } ?> </td> </tr> </table> <tr>"; echo " </table>
kann mir bitte jemand helfen -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage