Aanmelden lukt niet!

Gestart doorTimvz27 reacties104 weergaven

28 berichten · pagina 2 van 2

Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Timievz schreef:
ja ik weet het niet..
Ik denk dat je niet echt logisch nadenkt? Kijk eens naar je vraag: het gaat over registreren... kijk nog een naar je lijstje aan bestandsnamen, wat valt je op?

En voor de zekerheid, kijk ook eens op je pagina bij het registeren naar de URL-balk..
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ja weet ik alleen in registreren.php kon een vriend van me geen probleem vinden,, misshien jull
ie ?

 [COLOR= #0000BB]<?[/COLOR]
[COLOR= #FF8000]// Groot Inlogsysteem versie 2
// Copyright Jorik Berkepas
// Support by helpdesk90@gmail.com (MSN|Email)
// Pagina: registreer.php: Registreren voor nieuw account[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"htmltop.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>
   <h2>Registreer</h2>
[COLOR= #0000BB]<?php
   $sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"select * from gebruikers where ip=$_SERVER[REMOTE_ADDR]"[/COLOR][COLOR= #007700];[/COLOR]
   [COLOR= #0000BB]$res[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
   [COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$res[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user_id[/COLOR][COLOR= #007700]])) {[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hoi[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR]
 [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]submit[/COLOR][COLOR= #007700]])) {[/COLOR]
  [COLOR= #FF8000]// Uitvoeren
  // Velden controleren[/COLOR]
  [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR] AND [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass1[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR] AND [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass2[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR] AND [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]) {[/COLOR]
   [COLOR= #FF8000]// Gebuikersnaamcheck[/COLOR]
   [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT id FROM gebruikers WHERE naam="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
   [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
   [COLOR= #0000BB]$tellen[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
   [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tellen[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
    [COLOR= #FF8000]// E-mailcheck[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/preg_match"]preg_match[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"/^[A-Z0-9._%-]+@[A-Z0-9._%-]+.[A-Z]{2,6}$/i"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]])) {[/COLOR]
     [COLOR= #FF8000]// Email correct[/COLOR]
     [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass1[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass2[/COLOR][COLOR= #007700]]) {[/COLOR]
      [COLOR= #0000BB]$actcode[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mt_srand"]mt_srand[/URL][COLOR= #007700]((double)[/COLOR][URL="http://www.php.net/microtime"]microtime[/URL][COLOR= #007700]()*[/COLOR][COLOR= #0000BB]100000[/COLOR][COLOR= #007700]);[/COLOR]
      [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$actcode[/COLOR][COLOR= #007700]) <=[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]) {[/COLOR]
       [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/chr"]chr[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mt_rand"]mt_rand[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]255[/COLOR][COLOR= #007700]));[/COLOR]
       [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/eregi"]eregi[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"^[a-z0-9]$"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700])) {[/COLOR]
        [COLOR= #0000BB]$actcode[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$actcode[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700];
       }
      }[/COLOR]
      [COLOR= #0000BB]$md5pass[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/md5"]md5[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass1[/COLOR][COLOR= #007700]]);[/COLOR]
    [COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/addslashes"]addslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass1[/COLOR][COLOR= #007700]]);[/COLOR]
      [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"INSERT INTO gebruikers (naam,wachtwoord,status,email,actief,actcode,ref,ip,viewpass) VALUES ("[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/addslashes"]addslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]","[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$md5pass[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]",0,"[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/addslashes"]addslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]",0,"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$actcode[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]","[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]",$_SERVER[REMOTE_ADDR],$pass)"[/COLOR][COLOR= #007700];[/COLOR]
      [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
      [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]==[/COLOR] TRUE[COLOR= #007700]) {[/COLOR]
       [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT id FROM gebruikers WHERE naam="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
       [COLOR= #0000BB]$rij[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
       [COLOR= #0000BB]$dbid[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$rij[/COLOR][COLOR= #007700]->[/COLOR]id[COLOR= #007700]);[/COLOR]
       [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Beste "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]",nJe hebt je geregistreerd op de site "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sitenaam[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]", dit is de activatie mail van je registratie.nOm je account te activeren, druk je op de link onderaan deze mail.nn"[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"REGISTRATIE BEVESTIGEN: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$forgoturl[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"activeren.php?id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$dbid[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"&code="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$actcode[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"&registratie=true nn"[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"Zodra je op deze link geklikt hebt, kun je inloggen met:n"[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"Gebruikersnaam: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"n"[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"Wachtwoord: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pass1[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"n"[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]"** Dit is een automatisch verzonden bericht **"[/COLOR][COLOR= #007700];[/COLOR]
       [COLOR= #0000BB]$mail[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #DD0000]"Registratie "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sitenaam[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"From: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sitenaam[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]" <"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sitemail[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]">"[/COLOR][COLOR= #007700]);[/COLOR]
       [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mail[/COLOR] [COLOR= #007700]==[/COLOR] TRUE[COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bent succesvol geregistreerd! Zodra je de link in de mail hebt bezocht kun je inloggen.<br />n<a href="inloggen.php">&laquo; Naar de inlogpagina</a>"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$ip[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]];[/COLOR] [COLOR= #FF8000]// ip-adres[/COLOR]
[COLOR= #0000BB]$nu[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"j n Y"[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #FF8000]// huidige datum[/COLOR]
[COLOR= #0000BB]$results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT ip FROM aanlid WHERE ip = $ip AND date_format(datum, %e %c %Y) = $nu"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$check[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$results[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]Er is een fout opgetreden bij het uitvoeren van de query.[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$check[/COLOR][COLOR= #007700])==[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700])[/COLOR] [COLOR= #FF8000]// als het je eerste keer is dat je vandaag op deze pagina komt wordt de teller verhoogt[/COLOR]
[COLOR= #007700]{[/COLOR]
    [COLOR= #0000BB]$sql[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"INSERT INTO aanlid VALUES (, $ip, now())"[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]Er is een fout opgetreden bij het uitvoeren van de query.[/COLOR][COLOR= #007700]);
}

       }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Fout opgetreden tijdens verzenden van e-mail. Neem contact op met <a href="mailto:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sitemail[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"">"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$sitemail[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"</a>."[/COLOR][COLOR= #007700];
       }
      }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
       [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Er is een fout opgetreden tijdens het toevoegen van je account. Probeer het later nog eens.<br />n<a href="javascript:history.back()">&laquo; Ga terug</a>"[/COLOR][COLOR= #007700];
      }
     }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
      [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"De door jou opgegeven wachtwoorden komen niet overeen.<br />n<a href="javascript:history.back()">&laquo; Ga terug</a>"[/COLOR][COLOR= #007700];
     }
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
     [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Het e-mailadres dat jij opgaf, komt niet overeen met hoe een e-mailadres eruit zou moeten zien (gebruiker@domain.ext).<br />n<a href="javascript:history.back()">&laquo; Ga terug</a>"[/COLOR][COLOR= #007700];
    }
   }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"De gebruikersnaam "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" is reeds in gebruik. Probeer een andere gebruikersnaam.<br />n<a href="javascript:history.back()">&laquo; Ga terug</a>"[/COLOR][COLOR= #007700];
   }
  }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
   [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bent vergeten één of meerdere velden in te vullen.<br />n<a href="javascript:history.back()">&laquo; Ga terug</a>"[/COLOR][COLOR= #007700];
  }
 }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
  [COLOR= #FF8000]// Formulier
  
  # Email
  # User
  # Pass + check
  # emailcheck (uitvoeren)[/COLOR]
  ?>
  <form method="post" action="registreer.php?id=<?= $_GET[id] ?>">
   <table>
    <tr>
     <td>Gebruikersnaam:</td><td><input type="text" name="user" maxlength="50" /></td>
    </tr>
    <tr>
     <td>Wachtwoord:</td><td><input type="password" name="pass1" /></td>
    </tr>
    <tr>
     <td>Herhaal:</td><td><input type="password" name="pass2" /></td>
    </tr>
    <tr>
     <td>E-mailadres:</td><td><input type="text" name="email" maxlength="100" /></td>
    </tr>
    <tr>
     <td><a href="voorwaarde.php" onclick="window.open(voorwaarde.php, mijnVenster,status=no,width=500,height=600,location=no,); return false">Voorwaarden</a></td><td><input name="agreecheck" type="checkbox" onClick="agreesubmit(this)"></td>
    </tr>
    <tr>
     <td></td><td><input type="Submit" value="Registreer" name="submit" disabled></td>
<script>
//change two names below to your forms names
document.forms.agreeform.agreecheck.checked=false
</script>
    </tr>
   </table>

<script>
//change two names below to your forms names
document.forms.agreeform.agreecheck.checked=false
</script>
  </form>
  <small>Na de registratie zal er een e-mail naar je e-mailadres gestuurd worden ter activatie. Tot die tijd kun
  je nog niet inloggen.</small>
  [COLOR= #0000BB]<?[/COLOR]
 [COLOR= #007700]}
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je hebt al een acount op deze website"[/COLOR][COLOR= #007700]; }
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
 [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bent momenteel ingelogd, registreren is niet mogelijk terwijl je bent ingelogd!"[/COLOR][COLOR= #007700];
}[/COLOR]

[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"htmlbottom.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Ik zeg het nog een keer: ---> Relevante code <---, en zet deze tussen de code-tags a.u.b.
Ik denk dat je aan post 2 in dit topic al voldoende hebt....
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
nee normaal gesproken geeft die de melding fout er kan geen kan activicatie mal gestuurd worden..
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
check de tweede post van dit topic, en trek je conclusies...

Weg bij Woelmuis dus....
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
het ligt aan woelmuis ? dat lijkt me niet.. ik heb een tijd geleden dit zelfde script gehad en toen geen problemen gehad bij woelmuis

tim
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Probeer eens een standaard mailscript van php.net/mail en ervaar.

Vergeet niet dat Woelmuis behoorlijk verouderd is, gezien er al enkele jaren geen onderhoud lijkt te zijn gepleegd.
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
oke.. alleen als ik een mail script zoek dan.krijg ik een contact script . ik ben ook niet zo goed net codes . heeft iemand geen regristreer script dat ook aansluit op mijn mysql ? tim
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
gewoon de standaard mailfunctie eens proberen, en geen ding met toeters en bellen.
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
heb geprobeerd het te vinden maar zie nog niks. tim
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Timievz schreef:
heb geprobeerd het te vinden maar zie nog niks. tim
Dan moet je ogen open doen? Als ik die open heb zie ik op genoemde URL wel wat basic mail-voorbeelden.
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hmmpff....

Google gewoon op "PHP mail function" en probeer wat van de voorbeeldjes die je daar vind. Als die niet werken staat de mail() functie dus uit op Woelmuis, maar ik verklap je het wel, HET STAAT UIT.
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
oke dankje wel !!
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren