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

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  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
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  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
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  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
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Leden
  3. gamesongz

Forum

  • Beta-testers gezocht voor Crypto-oefenplatform

    Syntax 29 januari 2026 om 16:11
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 19 januari 2026 om 09:34
  • Developer Gezocht

    Mikevdk 10 januari 2026 om 18:57
  • Op zoek naar de legends

    Syntax 5 januari 2026 om 13:50
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04

Marktplaats

  • 350 Nieuwe Domeinnamen Januari 2026

    shiga 1 februari 2026 om 14:21
  • 321 Nieuwe Domeinnamen December 2025

    shiga 1 januari 2026 om 10:26
  • Meerdere mafia game template te koop

    Syntax 26 december 2025 om 00:07

Posts by 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;}?>
    Toon Meer

    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"; 
     }
    ?>
    Toon Meer


    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;
    }
    ?>
    Toon Meer
  • [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

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

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. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design