• Inloggen
  • Registreer
  • Zoeken
Dit topic
  • Overal
  • Dit topic
  • Dit forum
  • Artikelen
  • Pagina's
  • Forum
  • Downloads
  • Meer opties

ICTscripters

Dé plek voor IT

Dé plek voor IT

Aanmelden

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Games
  4. Criminals & Maffiagames
  5. Uitbreidingen en Overige
  6. Archief
  7. Banditi

Forum

  • Top List Games

    frio 30 november 2026 om 09:45
  • Praktische workflow voor WhatsApp-berichten vanuit een Excel-lijst

    Jeroen.G 27 november 2026 om 11:17
  • [Beta] wh0.nl: gratis misdaadspel in een 3D-stad, zonder account. Feedback gezocht!

    frio 27 november 2026 om 05:46
  • Maffia Hotel: een browsergame waarin je van lobbygast naar spil van het hotel groeit

    Luc 26 november 2026 om 06:32
  • GEZ Crimevalley source

    frio 23 november 2026 om 16:30
  • Criminolz

    qevanto 14 november 2026 om 14:37
  • Externe testers gezocht — Saphaxis AI Chat Organizer 0.1.59

    FreelanceAP 4 november 2026 om 07:42
  • nieuwe game

    tigermaffia 2 november 2026 om 15:21

Marktplaats

  • Ik wil website maken maar weet niks

    frio 13 november 2026 om 20:29
  • [Aanbod] Logo vectoriseren: wazige jpg of AI-logo wordt een scherpe PDF en SVG, vanaf €29

    frio 11 november 2026 om 11:44
  • 293 Nieuwe Domeinnamen Oktober 2026

    shiga 5 november 2026 om 11:02

Banditi or other like this game chat

  • kutsikas
  • 20 augustus 2015 om 18:37
  • kutsikas
    Beginner
    Berichten
    9
    • 20 augustus 2015 om 18:37
    • #1

    Did anyone have a good normal chat? Not a flash chat!!
    Clock in chat is very important.

    Example: 18:36 Son: whats going on?
    Example: 18:37 Son1: Nothing much.

    I have one chat script but this is not a good. No ban options and not a safe.

    Maybe some one can fix it? I can show it.

    Sorry for bad english and sorry no nenderlands language.

    Bewerkt één keer, laatst door kutsikas: More text (20 augustus 2015 om 19:23).

  • Gast, wil je besparen op je domeinnamen? (ad)
  • kutsikas
    Beginner
    Berichten
    9
    • 20 augustus 2015 om 19:09
    • #2

    Full chat script. But if anyone can fix it?
    Like ban options and make it safe - please?
    Is it possible?


    PHP: Chat.php
    <?php
    
    
    include("mysql.php");
    
    
    if($_POST['form'])
    {
    	if($_POST['tekst'] == '')
    	{
    		echo "";
    	}
    	 else if($_POST['tekst'] == '/delete')
    
    
           {
    		$fail = fopen('jutt1.txt', 'w');                
    		fwrite($fail, '');
    		fclose($fail);
    	} else
    	{
    		
    		$fail = fopen("jutt1.txt", "a");
        $postname = $_SESSION['login'];
    	$postname = ($data->admin == 1) ? "<b><font color=red>$postname</b>": $postname;
    		
    	    $time = $date[date("w")].date("H:i");
    			
    		fwrite($fail, "|NM|".$time." $postname: ".$_POST['tekst']);
    	}
    }
    ?>
    <table style="padding-top: 0px; margin-top: 0px;" width="99%" id="chat">
    <?php
    $txt = file_get_contents('jutt1.txt');
    $sonumid = explode('|NM|', $txt);
    $msgs = Array();
    for($i=sizeof($sonumid)-1; $i>sizeof($sonumid)-7; $i--)
    {
    	$msgs[] = $sonumid[$i];
    }
    $msgs = array_reverse($msgs);
    $msgs	= str_replace(":D", "<img src=\"images/icon_biggrin.gif\">",  $msgs);
    $msgs = str_replace("fuck", "***", $msgs);
    $msgs = str_replace("<script>", "****", $msgs);
    
    
    
    
    $i = 0;
    foreach($msgs as $msg)
    {
    	if($i == 0)
    	{
    		$i++;
    		echo '<tr border="1px" bgcolor="#FFFFF
    ">';
    	} else
    	{
    		$i--;
    		echo '<tr bgcolor="#dbd2b7">';
    	}
    	?>
    	<td style="padding-left:5"><?=$msg?></td>
    	</tr>
    	<?php
    }
    ?>
    </table>
    <center>
    <form method="POST" style="margin-top: 0px; padding-top: 0px;" name="chatter">
    <input class="input" type="text" name="tekst"/> <input class="button" name="form" type="submit" value="Send">
    </form></center>
    </script>		</div>
    	</td>
    	</tr>
    
    
    	</table>
    	</td>
    Meer tonen
  • Thisguyisgone
    Elite members
    Berichten
    7.880
    • 20 augustus 2015 om 21:25
    • #3

    It is possible, but for custom jobs, I think nobody will do this for free. Do you have a budget?

  • kutsikas
    Beginner
    Berichten
    9
    • 20 augustus 2015 om 21:53
    • #4

    How much its cost? I think other people need a normal chat in game. Not a pointless flash chat "sorry i don't like flash" chat.

    All letters must be work in chat: abc, öäü :)

    Maybe my scripts help a little bit....

    Bewerkt één keer, laatst door kutsikas (20 augustus 2015 om 22:05).

  • Thisguyisgone
    Elite members
    Berichten
    7.880
    • 20 augustus 2015 om 23:25
    • #5

    What exactly do you want? You can have a chat with real time chat, or just PHP. It is up to you how much options you want on it. If you give me a list, I will give you my price.

  • kutsikas
    Beginner
    Berichten
    9
    • 21 augustus 2015 om 09:31
    • #6

    Like i show my chat.php - it working. I use it in a game. But this is not a good.

    If i write chat <script> - this fucked chat up.

    1. I want ban options - if user is muted he must be see like this text: You are muted in 24 hour or something like that.
    2. And i want block html codes in chat like <script>.

    My chat is php chat still php chat....!!??
    Use it my chat in game and you see it! :)

    My chat looks like this: http://prntscr.com/874yph
    Like i say i want ban options and block html codes.

    Maybe you are better idea?


    What you think about that price?

    Bewerkt één keer, laatst door kutsikas (21 augustus 2015 om 09:51).

  • kutsikas
    Beginner
    Berichten
    9
    • 21 augustus 2015 om 12:02
    • #7

    So anyone understand and do it? :)

  • Reza
    Professional
    Berichten
    1.536
    • 21 augustus 2015 om 14:36
    • #8

    You can contact me and I will see what I can do for you. Please keep in mind that I won't do the job for only €5,-, if you don't have the budget you can look for other options like free AJAX based chats

    Met vriendelijke groet,
    Reza.

  • FangorN
    Professional
    Artikelen
    2
    Berichten
    737
    • 21 augustus 2015 om 17:17
    • #9

    If you have tags like <script> and HTML breaking your application this means you are not escaping output.

    Also, if you want to have access to a more exotic range of characters this means your entire application must be able to handle UTF-8 or a similar character encoding.

    Given the sample you posted on the first page, I think it is better to completely rewrite this, I am not sure if a file-based approach is a good idea, it is probably better to use a database for storing data.

    And then there is the way HTTP works: this is a request-response chess game. It is probably not the best protocol for something like a chat to begin with. You will need to have some kind of polling mechanism which checks if there are new messages unless you fancy refreshing your webpage manually all the time.

    I mean, have you considered IRC? This is a protocol specifically designed for chat. Or other technologies which also might be better suited for chat than HTML, for that matter.

  • kutsikas
    Beginner
    Berichten
    9
    • 21 augustus 2015 om 20:22
    • #10

    I think it is better to completely rewrite this - Maybe yeah! But who do it? :)
    What IRC mean?
    will need to have some kind of polling mechanism which checks if there are new messages unless you fancy refreshing your webpage manually all the time - Very good point.
    it is probably better to use a database for storing data. +1


    in principle i need chat who works banditi game or maffianextkill game or like that and its must be look nice. Like my chat but this codering is bullshit! :)

    I hope that eventually we will find a solution with anyone.

  • Thisguyisgone
    Elite members
    Berichten
    7.880
    • 22 augustus 2015 om 00:10
    • #11

    TS has been helped.

  • mica-
    Leerling
    Berichten
    111
    • 4 oktober 2015 om 21:30
    • #12

    I can convert it into your source but this won't be for free i'm afraid, i can also change the dates to show a date and not something like * hours ago..
    This chat application is Ajax based and will show you new massages if your recipent replies without any refresh needed.

    Mafiasource on Github

    Bewerkt 2 keer, laatst door mica- (4 oktober 2015 om 21:42).

  • Thisguyisgone
    Elite members
    Berichten
    7.880
    • 4 oktober 2015 om 21:47
    • #13

    Zoals je ziet heb ik TS al beholpen/

  • mica-
    Leerling
    Berichten
    111
    • 4 oktober 2015 om 22:50
    • #14

    Thanks, sorry zal in het vervolg beter opletten.

    Mafiasource on Github

Registratie

Nog geen account? Registreer je nu en word deel van onze community!

Nu registreren Aanmelden

ICT Nieuws

  • PHP waarschuwt voor twee ernstige bugs die makkelijk uit te buiten lijken

    Aaron 22 oktober 2026 om 22:19

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37

Gebruikers die dit topic bekijken

  • 2 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacyverklaring
  10. Contact
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design