• Inloggen
  • Registreer
  • Zoeken
Overal
  • Overal
  • 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. Leden
  3. gamesongz

Forum

  • nieuwe game

    frio 1 november 2026 om 14:08
  • Criminolz

    qevanto 31 oktober 2026 om 20:52
  • [Beta] Ottomaan: gratis browserspel met een echte, levende stad. Feedback gezocht!

    frio 27 oktober 2026 om 12:22
  • Port Father: beta van een browsergame in Antwerpen 1931, feedback welkom

    Jeroen.G 26 oktober 2026 om 10:33
  • Maffia Hotel: een browsergame waarin je van lobbygast naar spil van het hotel groeit

    eeyk 22 oktober 2026 om 18:43
  • Crime Club volledig herschreven vanaf nul

    frio 19 oktober 2026 om 23:57
  • Malavita (nieuwe maffia game, van 0)

    jos 19 oktober 2026 om 23:18
  • Herkent deze Notion-structuurscan echte problemen?

    Jeroen.G 19 oktober 2026 om 15:09

Marktplaats

  • [Aanbod] Stadskaart voor je browsergame: van menu naar klikbare stad, vanaf €200

    frio 29 oktober 2026 om 18:17
  • [Verkoop] G4G (Gangsters 4 Gangsters): volledige broncode, nieuw gebouwd in PHP 8.3 | € 30 per domein

    frio 27 oktober 2026 om 18:54
  • [TE KOOP] Malavita.be [Maffiaspel, gebaseerd op omicidio.nl, unieke code]

    Dpm_x 26 oktober 2026 om 00:22

Berichten van gamesongz

  • [Mysql]Error > Login/Register

    • gamesongz
    • 20 januari 2013 om 20:14

    hmm. @Fils, Dat heef took niet geholpen.

  • [Mysql]Error > Login/Register

    • gamesongz
    • 16 januari 2013 om 20:59

    Danku voor je snelle reactie.
    Ik heb inderdaad gedaan wat je zei.
    Maar nog steeds dezelfde error.

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/u601239250/public_html/index.php on line 121

  • [Mysql]Error > Login/Register

    • gamesongz
    • 16 januari 2013 om 20:51
    Citaat van Wmdiensten

    Zorg eerst eens dat het fatsoenlijk staat want hier kan niemand wat mee...

    Done.

  • [Mysql]Error > Login/Register

    • gamesongz
    • 16 januari 2013 om 19:18

    Hallo, wanneer ik wil inloggen/Registreren komt er een error.
    Dit was voordat ik verhuisde van host, er helemaal niet.
    dus, ik vind het maar een beetje raar.

    Error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in/home/u601239250/public_html/index.php on line 120


    Code: (een klein deel)


    [PHP]

    if($dead = "false"){
    include('connect.php');
    $pass1 = md5($pass1);
    $query = mysql_query("SELECT status FROM members WHERE username = '$username' and password = '$pass1'");
    $rows = mysql_num_rows($query);
    if($rows > 0){
    $row = mysql_fetch_assoc($query);
    $username = mysql_real_escape_string($username);
    $_SESSION['login']=true;
    $_SESSION["username"]=$username;
    $_SESSION['rank'] = $row['status'];
    print "<font size=1 face=verdana><br />Succesfull logged in!";
    }
    else{
    [/PHP]

  • [Slotje]Problem Solved.

    • gamesongz
    • 6 januari 2013 om 21:21

    Hallo,
    Wanneer Iemand, of ik, naar mijn website wil gaan.
    Krijgt hij deze error:
    Fout 310 (net::ERR_TOO_MANY_REDIRECTS): Er zijn te veel omleidingen.


    Wat kan ik aan mijn script veranderen, om deze te laten werken?

    EDIT: #Slotje.
    Problem Solved

  • Multiple file upload

    • gamesongz
    • 5 januari 2013 om 19:27

    Thanks.
    Slotje

  • Multiple file upload

    • gamesongz
    • 5 januari 2013 om 19:23
    PHP
    <?php// Simple PHP Upload Script:  http://coursesweb.net/php-mysql/
    $uploadpath = '';      // directory to store the uploaded files$max_size = 200000000;          // maximum file size, in KiloBytes$alwidth = 90000;            // maximum allowed width, in pixels$alheight = 80000;           // maximum allowed height, in pixels$allowtype = array('mp3');        // allowed extensions$fileCount              = (int) count(glob($uploadpath . "*.mp3")); $newfilename = 'song' . ($fileCount + 1) . '.mp3'; //New File Name
    
    
    
    
    
    
    if(isset($_FILES['fileup']) && strlen($_FILES['fileup']['name']) > 1) {  $uploadpath = $uploadpath . basename( $_FILES['fileup']['name']);       // gets the file name  $sepext = explode('.', strtolower($_FILES['fileup']['name']));  $type = end($sepext);       // gets extension  list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']);     // gets image width and height  $err = '';         // to store the errors
      // Checks if the file has allowed type, size, width and height (for images)  if(!in_array($type, $allowtype)) $err .= 'Upload Failed, Invalid Extension';  if($_FILES['fileup']['size'] > $max_size*1000) $err .= '<br/>Maximum file size must be: '. $max_size. ' KB.';  if(isset($width) && isset($height) && ($width >= $alwidth || $height >= $alheight)) $err .= '<br/>The maximum Width x Height must be: '. $alwidth. ' x '. $alheight;
      // If no errors, upload the image, else, output the errors  if($err == '') {    if(move_uploaded_file($_FILES["fileup"]["tmp_name"], "" . $newfilename)) {      echo 'Song successfully uploaded';      echo '<br />Link To Song <input type="text" class="optionstxt" readonly style="width:300px;" value="http://'.$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['REQUEST_URI']), '\\/').'/'.$newfilename.'">';
                        }    else echo '<b>Unable to upload the file.</b>';  }  else echo $err;}?>
    Meer tonen

    Wat moet ik hier precies aan veranderen?
    Om meerdere files te kunen uploaden?

  • [ERROR]Mysql Error.

    • gamesongz
    • 3 januari 2013 om 04:22

    Helaas, Hij geeft nog steeds een error weer.

  • [ERROR]Mysql Error.

    • gamesongz
    • 3 januari 2013 om 04:11

    Dit is hoe ik hem wou importen:


    Code
    CREATE TABLE gebruikers ( 
    id int(10) NOT NULL auto_increment, 
    gebruikersnaam varchar(100), 
    password varchar(250), 
    datum varchar(20), 
    mail varchar(100), 
    PRIMARY KEY(id))
  • [ERROR]Mysql Error.

    • gamesongz
    • 3 januari 2013 om 04:07

    Hallo, ik wou een tabelletje invoeren, daarstraks werkte hij nog op mijn andere pc.

    Nu in een keer niet meer.

    Hier een pic.


  • [Php/mysql]

    • gamesongz
    • 2 januari 2013 om 22:27

    Na het lezen van deze tut: http://www.phphulp.nl/php/script/php…gistratie/1873/

    heb ik een andere registratie system.

    Probleem, er staan nergens te invoer tabellen voor de mysql database......

    Iemand die mij zou kunnen helpen hiermee?

  • [Errors] php

    • gamesongz
    • 2 januari 2013 om 04:03

    Wel, Verder in de index.php pagina, heb ik deze ook nog staan.

    [PHP]<?php
    // Simple PHP Upload Script: http://coursesweb.net/php-mysql/

    $uploadpath = ''; // directory to store the uploaded files
    $max_size = 200000000; // maximum file size, in KiloBytes
    $alwidth = 90000; // maximum allowed width, in pixels
    $alheight = 80000; // maximum allowed height, in pixels
    $allowtype = array('mp3'); // allowed extensions
    $fileCount = (int) count(glob($uploadpath . "*.mp3"));
    $newfilename = 'song' . ($fileCount + 1) . '.mp3'; //New File Name


    if(isset($_FILES['fileup']) && strlen($_FILES['fileup']['name']) > 1) {
    $uploadpath = $uploadpath . basename( $_FILES['fileup']['name']); // gets the file name
    $sepext = explode('.', strtolower($_FILES['fileup']['name']));
    $type = end($sepext); // gets extension
    list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']); // gets image width and height
    $err = ''; // to store the errors

    // Checks if the file has allowed type, size, width and height (for images)
    if(!in_array($type, $allowtype)) $err .= 'Upload Failed, Invalid Extension';
    if($_FILES['fileup']['size'] > $max_size*1000) $err .= '<br/>Maximum file size must be: '. $max_size. ' KB.';
    if(isset($width) && isset($height) && ($width >= $alwidth || $height >= $alheight)) $err .= '<br/>The maximum Width x Height must be: '. $alwidth. ' x '. $alheight;

    // If no errors, upload the image, else, output the errors
    if($err == '') {
    if(move_uploaded_file($_FILES["fileup"]["tmp_name"], "" . $newfilename)) {
    echo 'Song successfully uploaded';
    echo '<br />Link To Song <input type="text" class="optionstxt" readonly style="width:300px;" value="http://'.%24_server['HTTP_HOST'].rtrim(dirname($_SERVER['REQUEST_URI']), '\\/').'/'.$newfilename.'">';


    }
    else echo '<b>Unable to upload the file.</b>';
    }
    else echo $err;
    }
    ?> [/PHP]

  • [Errors] php

    • gamesongz
    • 2 januari 2013 om 03:40

    Ehm.

    Dit is de header, die ik op elke pagina moet plaatsen.


    Mvg, Fabio


    edit;

    PHP
    session_start();

    <<< Dit is die Line 38

  • [Gezocht] Java Scripter

    • gamesongz
    • 2 januari 2013 om 03:26

    #slotje?
    Sinds dit Illegaal is.

  • [Errors] php

    • gamesongz
    • 2 januari 2013 om 03:15

    Hallo, Dus ik volgde een tutorial.

    Maar stuiterde op het volgende probleem.


    Ik heb dus een header, ((login/member beheer header) in de top van mijn pagina.


    Maar. Ipv dat hij die header weergeeft.

    Geeft hij 2 errors.

    Code
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/u638112868/public_html/index.php:11) in /home/u638112868/public_html/index.php on line 38
    
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/u638112868/public_html/index.php:11) in /home/u638112868/public_html/index.php on line 38

    En dit is het script, waarop het eerste zicht niks fout aan blijkt te zijn.


    PHP
    <?
    ob_start();
    session_start( );
    require_once($_SERVER['DOCUMENT_ROOT'].'/db_connect.php');
    
    
     if ($_SESSION['logged_in'] != 1 && isset($_COOKIE['login_cookie'])) {
        list($user, $pass) = explode('[]', $_COOKIE['login_cookie']);
         $qu = mysql_query("SELECT `user_password` FROM `members` WHERE `username` = '".addslashes($user)."'");
        if (mysql_num_rows($qu) == 1) {
            $passw = mysql_fetch_object($qu);
            if ($passw->user_password == $pass) {
              $_SESSION['logged_in'] = 1;
               $_SESSION['username'] = $user;
                $_SESSION['password'] = $pass;
            }
        }
     }
    if(!isset($_SESSION['username']) && !isset($_SESSION['password'])) {
       $_SESSION['logged_in'] = 0;
       $user = "Guest"; 
     }
    ?>
    Meer tonen


    Dus ik zou het erg waarderen, als iemand wist wat hier fout aan is.

    Mvg, Fabio

  • Multplie upload

    • gamesongz
    • 1 januari 2013 om 22:56

    Ik heb op google gezocht, maar dan vind ik andere Scripts.
    En niet echt een preciese uitleg.


    Edit;

    #Slotje, heb het al gefixed.

  • Multplie upload

    • gamesongz
    • 1 januari 2013 om 17:53

    Hoe kan ik hiervan precies een multiple upload maken?

    Forms heb ik al. :D

    Ik zou graag dat ie 3 Files kan uploaden.


    PHP
    <?php
    // Simple PHP Upload Script:  http://coursesweb.net/php-mysql/
    $uploadpath = '';      // directory to store the uploaded files
    $max_size = 200000000;          // maximum file size, in KiloBytes
    $alwidth = 90000;            // maximum allowed width, in pixels
    $alheight = 80000;           // maximum allowed height, in pixels
    $allowtype = array('mp3');        // allowed extensions
    $fileCount              = (int) count(glob($uploadpath . "*.mp3")); 
    $newfilename = 'song' . ($fileCount + 1) . '.mp3'; //New File Name
     
    if(isset($_FILES['fileup']) && strlen($_FILES['fileup']['name']) > 1) {
      $uploadpath = $uploadpath . basename( $_FILES['fileup']['name']);       // gets the file name
      $sepext = explode('.', strtolower($_FILES['fileup']['name']));
      $type = end($sepext);       // gets extension
      list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']);     // gets image width and height
      $err = '';         // to store the errors
      // Checks if the file has allowed type, size, width and height (for images)
      if(!in_array($type, $allowtype)) $err .= 'Upload Failed, Invalid Extension';
      if($_FILES['fileup']['size'] > $max_size*1000) $err .= '<br/>Maximum file size must be: '. $max_size. ' KB.';
      if(isset($width) && isset($height) && ($width >= $alwidth || $height >= $alheight)) $err .= '<br/>The maximum Width x Height must be: '. $alwidth. ' x '. $alheight;
      // If no errors, upload the image, else, output the errors
      if($err == '') {
        if(move_uploaded_file($_FILES["fileup"]["tmp_name"], "" . $newfilename)) {
          echo 'Song successfully uploaded';
          echo '<br />Link To Song <input type="text" class="optionstxt" readonly style="width:300px;" value="http://'.$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['REQUEST_URI']), '\\/').'/'.$newfilename.'">';
                    
        }
        else echo '<b>Unable to upload the file.</b>';
      }
      else echo $err;
    }
    ?>
    Meer tonen
  • [GEZOCHT]File Display

    • gamesongz
    • 31 december 2012 om 15:08

    Hallo,

    Is er een Script, Die alle .mp3 files, weergeeft in een lijst?


    Bedankt.

    mvg, Gamesongz

  • Upload script probleem.

    • gamesongz
    • 30 december 2012 om 21:18

    ik heb er ondertussen dit van gemaakt.
    Bedankt voor alle hulp!
    Alleen vroeg ik mij af, als het mogelijk is. een Lijst te hebben met alle .mp3 files.


    [PHP]<?php
    // Simple PHP Upload Script: http://coursesweb.net/php-mysql/

    $uploadpath = ''; // directory to store the uploaded files
    $max_size = 200000000; // maximum file size, in KiloBytes
    $alwidth = 90000; // maximum allowed width, in pixels
    $alheight = 80000; // maximum allowed height, in pixels
    $allowtype = array('mp3'); // allowed extensions
    $fileCount = (int) count(glob($uploadpath . "*.mp3"));
    $newfilename = 'song' . ($fileCount + 1) . '.mp3'; //New File Name


    if(isset($_FILES['fileup']) && strlen($_FILES['fileup']['name']) > 1) {
    $uploadpath = $uploadpath . basename( $_FILES['fileup']['name']); // gets the file name
    $sepext = explode('.', strtolower($_FILES['fileup']['name']));
    $type = end($sepext); // gets extension
    list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']); // gets image width and height
    $err = ''; // to store the errors

    // Checks if the file has allowed type, size, width and height (for images)
    if(!in_array($type, $allowtype)) $err .= 'Upload Failed, Invalid Extension';
    if($_FILES['fileup']['size'] > $max_size*1000) $err .= '<br/>Maximum file size must be: '. $max_size. ' KB.';
    if(isset($width) && isset($height) && ($width >= $alwidth || $height >= $alheight)) $err .= '<br/>The maximum Width x Height must be: '. $alwidth. ' x '. $alheight;

    // If no errors, upload the image, else, output the errors
    if($err == '') {
    if(move_uploaded_file($_FILES["fileup"]["tmp_name"], "" . $newfilename)) {
    echo 'Song successfully uploaded';
    echo '<br />Link To Song <input type="text" class="optionstxt" readonly style="width:300px;" value="http://'.%24_server['HTTP_HOST'].rtrim(dirname($_SERVER['REQUEST_URI']), '\\/').'/'.$newfilename.'">';


    }
    else echo '<b>Unable to upload the file.</b>';
    }
    else echo $err;
    }
    ?> [/PHP]

  • Upload script probleem.

    • gamesongz
    • 30 december 2012 om 21:00

    & $filecount moet zijn :X?

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
  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