• Login
  • Register
  • Search
Everywhere
  • Everywhere
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Advanced
  1. Dé plek voor IT
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Unresolved Threads
  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. Members
    1. Users Online
    2. Team
    3. Search Members
  8. Downloads
  1. Dé plek voor IT
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Unresolved Threads
  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. Members
    1. Users Online
    2. Team
    3. Search Members
  8. Downloads
  1. Dé plek voor IT
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Unresolved Threads
  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. Members
    1. Users Online
    2. Team
    3. Search Members
  8. Downloads
  1. Dé plek voor IT - ICTscripters
  2. Members
  3. ruttydm

Forum

  • Criminolz

    qevanto November 14, 2026 at 2:37 PM
  • Externe testers gezocht — Saphaxis AI Chat Organizer 0.1.59

    FreelanceAP November 4, 2026 at 7:42 AM
  • nieuwe game

    tigermaffia November 2, 2026 at 3:21 PM
  • [Beta] Ottomaan: gratis browserspel met een echte, levende stad. Feedback gezocht!

    frio October 27, 2026 at 12:22 PM
  • Port Father: beta van een browsergame in Antwerpen 1931, feedback welkom

    Jeroen.G October 26, 2026 at 10:33 AM
  • Maffia Hotel: een browsergame waarin je van lobbygast naar spil van het hotel groeit

    eeyk October 22, 2026 at 6:43 PM
  • Crime Club volledig herschreven vanaf nul

    frio October 19, 2026 at 11:57 PM
  • Malavita (nieuwe maffia game, van 0)

    jos October 19, 2026 at 11:18 PM

Marktplaats

  • Ik wil website maken maar weet niks

    frio November 13, 2026 at 8:29 PM
  • [Aanbod] Logo vectoriseren: wazige jpg of AI-logo wordt een scherpe PDF en SVG, vanaf €29

    frio November 11, 2026 at 11:44 AM
  • 293 Nieuwe Domeinnamen Oktober 2026

    shiga November 5, 2026 at 11:02 AM

Posts by ruttydm

  • Gratis artikel op een website in de Crypto branche?

    • ruttydm
    • August 23, 2018 at 9:12 PM
    Quote from Twan025

    Dat is al gebeurt, dus wat is je punt?

    Niemand doet iets volledig gratis, ik zie dat je gastblog vol met links naar andere websites zit. Dit is de enige reden waarom iemand een post op jouw website zou zetten.

  • PHP Leren

    • ruttydm
    • November 4, 2016 at 2:20 PM

    Waarom ga je niet voor javascript + nodejs? Dan moet je maar 1 taal leren die je kan gebruiken voor meerdere doeleinden.

  • Url verkorter source te koop!

    • ruttydm
    • November 4, 2016 at 2:15 PM

    Het ziet eruit als een heel mooi script! Maar toch vind ik 50 euro nog altijd redelijk veel voor een licentie van een URL-shortener.

  • Som van alle getallen

    • ruttydm
    • January 8, 2016 at 11:29 PM

    nope dan blijft sum 0 omdat het niet groter is als 9

  • Som van alle getallen

    • ruttydm
    • January 8, 2016 at 11:25 PM

    woops wel heel dom van me, waarschijnlijk omdat het zo laat is, op welke manier kan ik het dan wel doen?

  • Som van alle getallen

    • ruttydm
    • January 8, 2016 at 11:13 PM

    Dag iedereen ik probeer een functie te maken dat alle getallen bij elkaar optelt bv.: je hebt 999=>9+9+9=>27=>2+7=>9

    Nu ben ik bezig in javascript met zo'n functie maar wanneer ik de functie gebruik krijg ik in de console Undefined te zien op de lijn waar de functie wordt uitgevoerd.

    code:

    JavaScript
    function sumDigits(number) {
      var str = number.toString();
      while(sum > 9){
        var sum = 0;
    
    
        for (i = 0; i < str.length; i++) {
          sum += parseInt(str.charAt(i), 10);
        }
      }
      return sum;
    }
    Display More

    Is er iemand die de fout ziet?

  • cookies werken opeens niet meer

    • ruttydm
    • January 1, 2016 at 9:57 PM

    oh dat was het. bedankt!
    ik heb nu ob_start(); toegevoegd

  • cookies werken opeens niet meer

    • ruttydm
    • January 1, 2016 at 6:32 PM

    Ik heb eens een scriptje gemaakt om verschillende layouts te testen dat opeens niet meer werkt sinds ik in een ander scriptje van de site heb zitten klooien met cookies, ook met negatieve vervaltijden. Het scriptje waar ik in heb zitten klooien bestaat niet meer maar het andere wel.

    Ik draai verder mijn server op directadmin.

    Ik heb ook al mijn browsergegevens gewist en mijn server herstart.

    code die in de page geincluded wordt:

    PHP: theme.php
    <div class="panel panel-default">
      <div class="panel-heading">
        change theme
      </div>
      <div class="panel-body">
        <p>
          Here can you change the the home style of the whole site. Your choice will be saved on your computer as a cookie.<br>
          All themes come from bootswatch.com .
        </p>
        
    <?php
        if(isset($_POST['cerulean'])){
          setcookie("theme", "https://bootswatch.com/cerulean/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['cosmo'])){
          setcookie("theme", "https://bootswatch.com/cosmo/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['cyborg'])){
          setcookie("theme", "https://bootswatch.com/cyborg/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['darkly'])){
          setcookie("theme", "https://bootswatch.com/darkly/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['flatly'])){
          setcookie("theme", "https://bootswatch.com/flatly/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['journal'])){
          setcookie("theme", "https://bootswatch.com/journal/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['lumen'])){
          setcookie("theme", "https://bootswatch.com/lumen/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['paper'])){
          setcookie("theme", "https://bootswatch.com/paper/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['readable'])){
          setcookie("theme", "https://bootswatch.com/readable/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['sandstone'])){
          setcookie("theme", "https://bootswatch.com/sandstone/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['simplex'])){
          setcookie("theme", "https://bootswatch.com/simplex/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['slate'])){
          setcookie("theme", "https://bootswatch.com/slate/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['spacelab'])){
          setcookie("theme", "https://bootswatch.com/spacelab/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['superhero'])){
          setcookie("theme", "https://bootswatch.com/superhero/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['united'])){
          setcookie("theme", "https://bootswatch.com/united/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
        if(isset($_POST['yeti'])){
          setcookie("theme", "https://bootswatch.com/yeti/bootstrap.min.css", time() + (86400 * 30), "/");
          header('Location: index.php?p=theme&success=true');
        }
    ?>
      <form method="post">
        <table class="table table-striped table-hover ">
          <thead>
            <tr>
              <th>Theme</th>
              <th>Enable</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td><b>Cerulean</b></td>
              <td><button name="cerulean" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>
            <tr>
              <td><b>Cosmo</b></td>
              <td><button name="cosmo" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>
            <tr>
              <td><b>Cyborg</b></td>
              <td><button name="cyborg" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>
            <tr>
              <td><b>Darkly</b> <span class="text-success">(default theme)</span></td>
              <td><button name="darkly" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>
            <tr>
              <td><b>Flatly</b></td>
              <td><button name="flatly" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>        
            <tr>
              <td><b>Journal</b></td>
              <td><button name="journal" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>    
            <tr>
              <td><b>Lumen</b></td>
              <td><button name="lumen" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>Paper</b></td>
              <td><button name="paper" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>Readable</b></td>
              <td><button name="readable" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>Sandstone</b></td>
              <td><button name="sandstone" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>Simplex</b></td>
              <td><button name="simplex" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>Slate</b></td>
              <td><button name="slate" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>
            <tr>
              <td><b>Spacelab</b></td>
              <td><button name="spacelab" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr>
            <tr>
              <td><b>Superhero</b></td>
              <td><button name="superhero" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>United</b></td>
              <td><button name="united" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
            <tr>
              <td><b>Yeti</b></td>
              <td><button name="yeti" type="submit" class="btn btn-info btn-xs">Enable</button></td>
            </tr> 
          </tbody>
        </table> 
      </form>
        
      </div>
    </div>
    Display More
  • css terminal probleem

    • ruttydm
    • November 22, 2015 at 5:30 PM

    en wat als ruttydm langer is, hoe laat ik dat automatisch aanpassen?

  • css terminal probleem

    • ruttydm
    • November 22, 2015 at 5:05 PM

    Ben bezig met een terminal layout te maken maar ik stuit op een probleempje.

    (zie http://btcmaffia.eu/terminal/ )

    Namelijk als je begint te typen zie je dat de cursor helemaal links begint i.p.v vlak naast het dubbelpunt.

    Weet iemand hoe ik dit oplos?

  • file_get_contents

    • ruttydm
    • October 30, 2015 at 8:11 PM

    De quotes zijn weg, nu werkt het! THX!

  • file_get_contents

    • ruttydm
    • October 30, 2015 at 5:55 PM
    PHP
    <?php
    //including the configuration
    include "config.php";
    
    
    //the correct secret
    $realsecret = "123";
    
    
    //check secret
    if(isset($_GET['secret']) && $realsecret == $_GET['secret']){
    	//put information in array
    	$callback = array(
        "color" => $_GET['color'],
        "input_hash" => $_GET['input_transaction_hash'],
    	"destination" => $_GET['destination_address'],
    	"adress" => $_GET['input_address'],
    	"secret" => $_GET['secret'],
    	"confirmations" => $_GET['confirmations'],
    	"value" => $_GET['value'],
    	);
    	
    	
    	$query = $db->prepare ("INSERT INTO bets (confirmations, amount, hash_input, adress, color, round) 
    VALUES (':confirmations, :amount, :hash_input, :adress, :color, :round')");
    	
    	$query->bindParam(':confirmations', $callback['confirmations'], PDO::PARAM_INT);
    	$query->bindParam(':amount', $callback['value'], PDO::PARAM_INT);
    	$query->bindParam(':hash_input', $callback['input_hash'], PDO::PARAM_STR, 100);
    	$query->bindParam(':adress', $callback['adress'], PDO::PARAM_STR, 100);
    	$query->bindParam(':color', $callback['color'], PDO::PARAM_STR, 10);
    	$query->bindParam(':round', $current_round, PDO::PARAM_INT);
    	//put it in database
    	$query->execute();
    }
    ?>
    Display More
    Quote

    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1' in /var/www/bitypalace.eu/public_html/deposit.php:32 Stack trace: #0 /var/www/bitypalace.eu/public_html/deposit.php(32): PDOStatement->execute() #1 {main} thrown in /var/www/bitypalace.eu/public_html/deposit.php on line 32

    Nu heb ik het aangepast en werkt het steeds niet, heb gekeken of de kolomnamen overeenkwamen, en deze ,komen zeker overeen.

  • file_get_contents

    • ruttydm
    • October 29, 2015 at 5:09 PM

    Ik heb hier nog een probleempje met mijn pdo:

    PHP
    <?php
    //including the configuration
    include "config.php";
    //the correct secret
    $realsecret = "123";
    //check secret
    if(isset($_GET['secret']) && $realsecret == $_GET['secret']){
    	//put information in array
    	$callback = array(
        "color" => $_GET['color'],
        "input_hash" => $_GET['input_transaction_hash'],
    	"destination" => $_GET['destination_address'],
    	"adress" => $_GET['input_address'],
    	"secret" => $_GET['secret'],
    	"confirmations" => $_GET['confirmations'],
    	"value" => $_GET['value'],
    	);
    	
    	
    	$query = "INSERT INTO bets (confirmations, amount, hash_input, adress, color, round) 
    VALUES (".$callback['confirmations'].", ".$callback['value'].", ".$callback['input_hash'].", ".$callback['adress'].", ".$callback['color'].", ".$current_round.")";
    	
    	
    	//put it in database
    	$reslult = $db->query($query);
    }
    ?>
    Display More

    de error:

    Quote

    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column '9473630dd714bb793cce82dafaf99469909127606a93a53fb07ac9c9220f2ab1' in 'field list'' in /var/www/bitypalace.eu/public_html/deposit.php:27 Stack trace: #0 /var/www/bitypalace.eu/public_html/deposit.php(27): PDO->query('INSERT INTO bet...') #1 {main} thrown in /var/www/bitypalace.eu/public_html/deposit.php on line 27

    Dit stuk code moet worden opgeroepen door een api, dus sql injection speelt even geen rol.

  • file_get_contents

    • ruttydm
    • October 28, 2015 at 9:24 PM

    chroot aanzetten in de config

  • file_get_contents

    • ruttydm
    • October 21, 2015 at 4:08 PM

    Aja weet iemand hoe je bij vsftpd kunt instellen dat je alle folders kan zien i.p.v alleen de home folder?

    edit: hebbes

  • file_get_contents

    • ruttydm
    • October 12, 2015 at 12:55 PM

    Is een direct admin of cpanel licentie bij transip per zoveel tijd of eenmalig? Zie het nergens staan.

  • file_get_contents

    • ruttydm
    • October 11, 2015 at 2:15 PM

    Verstand van linux heb ik wel, alleen die ip's, dns enzo moet ik leren

  • file_get_contents

    • ruttydm
    • October 8, 2015 at 6:09 PM
    Quote from A.Tytgat

    als je een VPS koop van Versio moet je alles installeren. Het enigste wat er op staat in het besturingssysteem.

    Je moet dus ook nog een licentie kopen en daarna alles van DirectAdmin installeren om een webserver te kunnen opzetten.
    Je moet daarna de VPS beveiligen met bijvoorbeeld CSF Firewall.

    Maar niet alleen installeren volstaat natuurlijk...
    Je dient de configuratie ook aan te passen zodat alles vlot en veilig verloopt....

    Kan dat ook zonder licenties en alles manueel?

  • file_get_contents

    • ruttydm
    • October 8, 2015 at 6:06 PM

    of is mijn raspberry pi hier ook geschikt voor?

  • file_get_contents

    • ruttydm
    • October 8, 2015 at 6:01 PM

    Is zo'n controlepaneel cruciaal, en wat moet je doen kwa beveiliging?

    kun je bij die dns ook ip/folder doen?

ICT Nieuws

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

    Aaron October 22, 2026 at 10:19 PM

Blogs

  • Functioneel ontwerp

    Dees December 28, 2014 at 12:38 PM
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN December 28, 2018 at 12:35 PM
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN December 29, 2018 at 12:37 PM
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
  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