idd gewoon vanaf 0 beginne.. hebben ik en tcbhome ook gedaan
Berichten van zwpgangster
-
-
laat je het wel goed uitvoeren dan?
-
-
Citaat van MJorritsma
zwpgangster
Dat is voor een maximum van 100 luisteraars.Nee 5000!
-
Misschien handig, maar je moet rechten betalen om te streamen...
Bij deze website: http://listen2myradio.com/ betalen hun dat voor jouw en hoef je alleen nog maar een muziek programma te hebben zoals SAM BROADCASTER of Virtual DJ
Gr Mick
-
-
ik heb de plugin gedownload.. wqat moet ik nog meer downloaden dan
-
Jah, dit is die van openinviter
-
PHP
Meer tonen<?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();?> -
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!
-
kan je die aanpassen?
-
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 ) -
-
-
Hallo leden,
Wie weet of heeft een MSN invite script php
Waarbij je geen ctt bestand moet uploaden maar waarbij je dus inlogtMet vriendelijke groet,
Mick -
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:
-
Citaat van Luc
Als ik die onderste weghaal, wordt me pagina blank.... (ofja blank gewoon geen tekst) dus pakt hij de beginpagina nog steeds niet!
-
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
Meer tonen<!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© DJ-Mick - Alle rechten voorbehouden </div></div> </div> </body> </html> -
Op een VPS kan je lekker windows server ofzo erop laten zetten;)
-
Je provider laten testen van wie de spamming af komt!