• 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. zwpgangster

Forum

  • Ictscripters Chat

    AarClay 21 april 2026 om 11:34
  • Het Grote Vibe Code Topic

    Jeroen.G 8 april 2026 om 14:00
  • PWYL source gezocht

    Syntax 25 maart 2026 om 11:44
  • Help testers nodig voor android app Urgent

    Servertjee 20 februari 2026 om 12:07
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    Servertjee 20 februari 2026 om 12:06
  • Afspraken systeem met planbeperking

    Jeffrey.Hoekman 20 februari 2026 om 11:52
  • Developer Gezocht

    Servertjee 19 februari 2026 om 17:31
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Servertjee 18 februari 2026 om 16:57

Marktplaats

  • 370 Nieuwe Domeinnamen April 2026

    shiga 1 mei 2026 om 12:06
  • Snel een website nodig?

    Syntax 10 april 2026 om 12:55
  • Sicarras.com - Moderne Mafia Text-Based RPG

    Syntax 5 april 2026 om 16:22

Posts by zwpgangster

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 20:04

    huh?

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:32

    ik heb de plugin gedownload.. wqat moet ik nog meer downloaden dan

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:29

    Jah, dit is die van openinviter

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:27
    PHP
    <?php
    	require("includes/config.php");
    
    
    	StartContent("MSN INVITE");
    
    
    	$_pluginInfo=array(
    	'name'=>'Live/Hotmail',
    	'version'=>'1.6.6',
    	'description'=>"Get the contacts from a Windows Live/Hotmail account",
    	'base_version'=>'1.8.0',
    	'type'=>'email',
    	'check_url'=>'http://login.live.com/login.srf?id=2',
    	'requirement'=>'email',
    	'allowed_domains'=>array('/(hotmail)/i','/(live)/i','/(msn)/i','/(chaishop)/i'),
    	'imported_details'=>array('first_name','email_1'),
    	);
    /**
     * Live/Hotmail Plugin
     * 
     * Imports user's contacts from Windows Live's AddressBook
     * 
     * @author OpenInviter
     * @version 1.5.8
     */
    class hotmail extends openinviter_base
    	{
    	private $login_ok=false;
    	public $showContacts=true;
    	public $internalError=false;
    	protected $timeout=30;
    		
    	public $debug_array=array(
    				'initial_get'=>'LoginOptions',
    				'login_post'=>'location.replace',
    				'first_redirect'=>'self.location.href',
    				'url_inbox'=>'peopleUrlDomain',
    				'message_at_login'=>'peopleUrlDomain',
    				'url_sent_to'=>'ContactList.aspx',
    				'get_contacts'=>'\x26\x2364\x3',
    				);
    	
    	/**
    	 * Login function
    	 * 
    	 * Makes all the necessary requests to authenticate
    	 * the current user to the server.
    	 * 
    	 * @param string $user The current user.
    	 * @param string $pass The password for the current user.
    	 * @return bool TRUE if the current user was authenticated successfully, FALSE otherwise.
    	 */
    	function login($user,$pass)
    		{
    		$this->resetDebugger();
    		$this->service='hotmail';
    		$this->service_user=$user;
    		$this->service_password=$pass;
    		if (!$this->init()) return false;		
    		$res=$this->get("http://login.live.com/login.srf?id=2",true);
    		if ($this->checkResponse('initial_get',$res))
    			$this->updateDebugBuffer('initial_get',"http://login.live.com/login.srf?id=2",'GET');
    		else 
    			{
    			$this->updateDebugBuffer('initial_get',"http://login.live.com/login.srf?id=2",'GET',false);
    			$this->debugRequest();
    			$this->stopPlugin();
    			return false;	
    			}
    		
    		if (strlen($pass) > 16) $pass=substr($pass, 0, 16);
    		$post_action=$this->getElementString($res,'method="POST" target="_top" action="','"');
    		$post_elements=$this->getHiddenElements($res);$post_elements["LoginOptions"]=3;$post_elements["login"]=$user;$post_elements["passwd"]=$pass;
    		$res=$this->post($post_action,$post_elements,true);		
    		if ($this->checkResponse("login_post",$res))
    			$this->updateDebugBuffer('login_post',"{$post_action}",'POST',true,$post_elements);
    		else
    			{
    			$this->updateDebugBuffer('login_post',"{$post_action}",'POST',false,$post_elements);
    			$this->debugRequest();
    			$this->stopPlugin();
    			return false;
    			}
    			
    		$url_redirect=$this->getElementString($res,'.location.replace("','"');
    		$res=$this->get($url_redirect,true,true);		
    		if ($this->checkResponse('first_redirect',$res))
    			$this->updateDebugBuffer('first_redirect',"{$url_redirect}",'GET');
    		else 
    			{
    			$this->updateDebugBuffer('first_redirect',"{$url_redirect}",'GET',false);
    			$this->debugRequest();
    			$this->stopPlugin();
    			return false;	
    			}
    			
    		$url_redirect=$this->getElementString($res,'rurl:"','"');
    		$base_url="http://".$this->getElementString($res,'burl:"','"');
    		$res=$this->get($url_redirect,true);
    			
    		if (strpos($res,'MessageAtLoginForm')!==false)
    			{
    			$form_action=$base_url.'mail/'.html_entity_decode($this->getElementString($res,'method="post" action="','"'));
    			$post_elements=$this->getHiddenElements($res);$post_elements['TakeMeToInbox']='Continue';
    			$res=$this->post($form_action,$post_elements,true);
    			if ($this->checkResponse("message_at_login",$res))
    				$this->updateDebugBuffer('message_at_login',"{$form_action}",'POST',true,$post_elements);
    			else
    				{
    				$this->updateDebugBuffer('message_at_login',"{$form_action}",'POST',false,$post_elements);
    				$this->debugRequest();
    				$this->stopPlugin();
    				return false;
    				}
    			}
    		else
    			{
    			if ($this->checkResponse('url_inbox',$res))
    			$this->updateDebugBuffer('url_inbox',"{$url_redirect}",'GET');
    			else 
    				{
    				$this->updateDebugBuffer('url_inbox',"{$url_redirect}",'GET',false);
    				$this->debugRequest();
    				$this->stopPlugin();
    				return false;	
    				}
    			}
    		
    		$this->login_ok=$base_url;
    		file_put_contents($this->getLogoutPath(),$base_url);
    		return true;
    		}
    
    
    	/**
    	 * Get the current user's contacts
    	 * 
    	 * Makes all the necesarry requests to import
    	 * the current user's contacts
    	 * 
    	 * @return mixed The array if contacts if importing was successful, FALSE otherwise.
    	 */	
    	public function getMyContacts()
    		{
    		if (!$this->login_ok)
    			{
    			$this->debugRequest();
    			$this->stopPlugin();
    			return false;
    			}
    		else $base_url=$this->login_ok;
    		$res=$this->get("{$base_url}/mail/EditMessageLight.aspx?n=");				
    		if ($this->checkResponse('url_sent_to',$res))
    			$this->updateDebugBuffer('url_sent_to',"{$base_url}mail/EditMessageLight.aspx?n=",'GET');
    			else 
    				{
    				$this->updateDebugBuffer('url_sent_to',"{$base_url}mail/EditMessageLight.aspx?n=",'GET',false);
    				$this->debugRequest();
    				$this->stopPlugin();
    				return false;	
    				}
    	
    		$urlContacts="{$base_url}/mail/ContactList.aspx".$this->getElementString($res,'ContactList.aspx','"');
    		$res=$this->get($urlContacts);
    		if ($this->checkResponse('get_contacts',$res))
    			$this->updateDebugBuffer('get_contacts',"{$urlContacts}",'GET');
    		else 
    			{
    			$this->updateDebugBuffer('get_contacts',"{$urlContacts}",'GET',false);
    			$this->debugRequest();
    			$this->stopPlugin();
    			return false;	
    			}
    		$res=html_entity_decode(urldecode(str_replace('\x', '%', $res)),ENT_QUOTES, "UTF-8");		
    		$contacts=array();					
    		if (preg_match_all("#\'\,\[\'(.+)\@(.+)\'#U",$res,$matches))
    			{
    			if (!empty($matches[1][0]) AND (!empty($matches[2][0]))) { unset($matches[1][0]); unset($matches[2][0]); }			
    			foreach($matches[1] as $key=>$value)
    				if (!empty($matches[2][$key])) $contacts["{$value}@{$matches[2][$key]}"]=array("first_name"=>"","email_1"=>"{$value}@{$matches[2][$key]}");				
    			}									
    		foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
    		return $this->returnContacts($contacts);
    		}
    
    
    	/**
    	 * Terminate session
    	 * 
    	 * Terminates the current user's session,
    	 * debugs the request and reset's the internal 
    	 * debudder.
    	 * 
    	 * @return bool TRUE if the session was terminated successfully, FALSE otherwise.
    	 */	
    	public function logout()
    		{
    		if (!$this->checkSession()) return false;
    		if (file_exists($this->getLogoutPath()))
    			{
    			$url=file_get_contents($this->getLogoutPath());
    			$url_logout=$url."mail/logout.aspx";
    			$res=$this->get($url_logout,true);
    			}
    		$this->debugRequest();
    		$this->resetDebugger();
    		$this->stopPlugin();
    		return true;
    		}
    		
    	}
    	EndContent();?>
    Toon Meer
  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:25

    Fatal error: Class 'openinviter_base' not found in msninvite.php on line 39

    Deze error krijg ik nu... hoe kan dit en wat is dit?

    voor mijn website include in de functions kan het daar aan liggen? of hoe krijg ik dit werkend!

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:18

    kan je die aanpassen?

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:10

    Die laatste is wel wat, alleen dit gebeurt weer allemaal extern..

    moet iets zijn:

    Inloggen met live ID
    Script haalt je buddy's op
    Jij kan selecteren wie wel en wie niet
    Versturen ( de mails worden automatisch verstuurd naar de desbetrefende persoon )

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 19:04
    Citaat van SkyNet

    Bekende maffiagames hebben dat, dus het lijkt mij wel veilig want het gaat via Windows live.

    Jah idd, zoiets zoek ik!

  • Nieuwe lay-out

    • zwpgangster
    • 16 mei 2011 om 18:58
    Citaat van Guitar

    Als ik op je site kwam zou ik direct weer weggaan. Doe iets aan je kleurengebruik en "keep it clean" ;)

    Geef eens wat beter commentaar... dit slaat echt nergens op!

  • MSN invite

    • zwpgangster
    • 16 mei 2011 om 18:56

    Hallo leden,

    Wie weet of heeft een MSN invite script php
    Waarbij je geen ctt bestand moet uploaden maar waarbij je dus inlogt

    Met vriendelijke groet,
    Mick

  • Pagina systeem foutje

    • zwpgangster
    • 13 mei 2011 om 15:06

    ja mat is niet de bedoeling.. hij moet wel error geven als er geen aanwezig is. bekijk de website wjsolutions.nl ( geen reclame maar als voorbeeld ) das het zelfde script en die werkt wel....

    Nieuwe reactie samengevoegd met originele reactie op 13.05.11 15:29:56:
    Ik heb het zover als opgelost, ( oplossing was de reactie van Luc ) echter is het wel zo, als ik een andere naam in de adresbalk vul, gaat hij naar de beginpagina.. maar als het wel in de array staat maar php bestand niet.. dan krijg je wel foutmelding.. bedankt voor de oplossing!!

    :slotje::slotje:

  • Pagina systeem foutje

    • zwpgangster
    • 13 mei 2011 om 14:49
    Citaat van Luc

    Verder kijken dan je neus lang is..

    PHP
    else { 
                //Hij staat in de array maar .php file kan niet gevonden worden. 
                include_once($Path . "404.shtml"); 
            } 
        } 
        else { 
            //Als hij niet in de array staat 
            include_once($Path . "404.shtml");

    Daar staat je antwoord

    Als ik die onderste weghaal, wordt me pagina blank.... (ofja blank gewoon geen tekst) dus pakt hij de beginpagina nog steeds niet!

  • Pagina systeem foutje

    • zwpgangster
    • 13 mei 2011 om 14:43

    Hallo leden,

    ik heb een php pagina systeem, alleen is er een probleem mee..

    Als ik naar de link:
    http://militaire-in-uruzgan.nl/deejay ga dan pakt hij de foutpagina inplaats van de beginpagina.. hoe kan dit en wie weet dit op te lossen.

    Dit is het script

    PHP
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>DJ-Mick - Uw DJ voor alle party's, bruiloften en examenfeesten</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="css/style.css" media="all" />
    
    
    </head>
    
    
    <!-- <?PHP
    include_once('include/function.inc.php');
    ?> -->
    
    
    <body>
    <div id="container">
    <div id="header">
    <div class="left">
    DJ-Mick
    <div class="leftslogan">
    Uw DJ voor alle feesten
    </div>
    </div>
    
    
    <div class="right">
    <div id="right">
    <ul>
    <li><a href="?pagina=beginpagina">Home</a></li>
    <li><a href="?pagina=about">Over ons</a></li>
    <li><a href="?pagina=apparatuur">Apparatuur</a></li>
    <li><a href="?pagina=aanvragen">Aanvragen</a></li>
    <li><a href="?pagina=contact">Contact</a></li>
    </ul>
    </div>
    </div>
    </div>
    
    
    <div id="content">
    <div class="corner">
    <h1 class="top">Welkom op de website van DJ-Mick</h1>
    <div class="middle">
    <?PHP
    include_once('include/content.inc.php');
    
    
    $Path    = "pagina/";
    $Pagina    = array("beginpagina", "about", "apparatuur", "aanvragen", "contact");
    
    
    if (!isset($_GET['pagina']))
    {
        $_GET['pagina']    = $Path . "beginpagina.php";
    }
    if (isset($_GET['pagina']))
    {
        if (in_array($_GET['pagina'], $Pagina))
        {
            //Hier controleren wij of de naam in de array voorkomt
            if (file_exists($Path . $_GET['pagina'] . ".php"))
            {
                //Als hij in de array voorkomt
                include_once($Path . $_GET['pagina'] . ".php");
            }
            else {
                //Hij staat in de array maar .php file kan niet gevonden worden.
                include_once($Path . "404.shtml");
            }
        }
        else {
            //Als hij niet in de array staat
            include_once($Path . "404.shtml");
        }
    }
    ?>
    </div>
    
    
    <div class="bottom">
    </div>
    </div>
    
    
    <div id="footer">
    <div id="copyright">
    Copyright&copy; DJ-Mick - Alle rechten voorbehouden
    </div></div>
    
    
    </div>
    
    
    </body>
    </html>
    Toon Meer
  • vraagje

    • zwpgangster
    • 13 mei 2011 om 13:39

    Op een VPS kan je lekker windows server ofzo erop laten zetten;)

  • Netwerk spamming

    • zwpgangster
    • 13 mei 2011 om 13:08

    Je provider laten testen van wie de spamming af komt!

  • Slideshow

    • zwpgangster
    • 13 mei 2011 om 13:02

    Hallo,

    Ik ben bezig met een website voor een vriend van mij, hij is helemaal 0 op het gebied van website en wilde iets speciaals voor hem maken.

    Nu heb ik een website gemaakt namelijk:

    http://militaire-in-uruzgan.nl/foto/

    Nu wil ik in deze afbeelding:

    Een diavoorstelling (slideshow) maken.

    Wie kan dit voor mij maken, of heeft nog zoiets liggen? ( liefst voor niks )

    Met vriendelijke groet,
    Mick

  • Twitter Widged

    • zwpgangster
    • 10 mei 2011 om 20:46

    dnek het niet, dit is de functie om de links klikbaar te maken

  • Twitter Widged

    • zwpgangster
    • 10 mei 2011 om 20:43

    hmzz raar,

    waar wordt dit stukje opgeroepen in het script?

  • Twitter Widged

    • zwpgangster
    • 10 mei 2011 om 20:41

    1ste link bestaat de user niet van!

  • Hostinglayout

    • zwpgangster
    • 10 mei 2011 om 20:35

    Wel netjes,

    Alleen de topmenu mouse over is niet mooi, en layout moet iets meer kleur vind ik!

ICT Nieuws

  • Google Cloud is in de problemen (en AWS weet het)

    ICTscripters 14 april 2026 om 12:01
  • Nebius kondigt bouw aan van een van Europa's grootste datacenters

    ICTscripters 31 maart 2026 om 12:03
  • Samsung zal miljoenen verdienen aan Apple iPhone Fold dankzij zijn 12GB RAM

    ICTscripters 11 maart 2026 om 22:42

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