Hoe kan dit:S
tomk - 03/07/2005 10:04
ASP interesse
Ej mensen. Bij mijn registratie post hij niet meer in de database en deet dat altijd wel:s . Hier mijn script:
<?
ob_start();
include("functies.php");
$var = "iedereen";
$toegang = beveiliging($var);
$ban = ban();
if(!$toegang == 0) {
if(!$ban == 1) {
?><html>
<script language="javascript">
if (document.images) {
image1 = new Image
image2 = new Image
image3 = new Image
image4 = new Image
image5 = new Image
image6 = new Image
image7 = new Image
image8 = new Image
image9 = new Image
image10 = new Image
image11 = new Image
image12 = new Image
image13 = new Image
image14 = new Image
image15 = new Image
image16 = new Image
image17 = new Image
image18 = new Image
image19 = new Image
image20 = new Image
image21 = new Image
image22 = new Image
image23 = new Image
image24 = new Image
image25 = new Image
image1.src = "http://www.carriere-manager.nl/images/vlaggen/nl.gif"
image2.src = "http://www.carriere-manager.nl/images/vlaggen/en.gif"
image3.src = "http://www.carriere-manager.nl/images/vlaggen/it.gif"
image4.src = "http://www.carriere-manager.nl/images/vlaggen/du.gif"
image5.src = "http://www.carriere-manager.nl/images/vlaggen/fa.gif"
image6.src = "http://www.carriere-manager.nl/images/vlaggen/be.gif"
image7.src = "http://www.carriere-manager.nl/images/vlaggen/sp.gif"
image8.src = "http://www.carriere-manager.nl/images/vlaggen/arg.gif"
image9.src = "http://www.carriere-manager.nl/images/vlaggen/aus.gif"
image10.src = "http://www.carriere-manager.nl/images/vlaggen/bra.gif"
image11.src = "http://www.carriere-manager.nl/images/vlaggen/bul.gif"
image12.src = "http://www.carriere-manager.nl/images/vlaggen/ch.gif"
image13.src = "http://www.carriere-manager.nl/images/vlaggen/cro.gif"
image14.src = "http://www.carriere-manager.nl/images/vlaggen/den.gif"
image15.src = "http://www.carriere-manager.nl/images/vlaggen/fin.gif"
image16.src = "http://www.carriere-manager.nl/images/vlaggen/griek.gif"
image17.src = "http://www.carriere-manager.nl/images/vlaggen/jap.gif"
image18.src = "http://www.carriere-manager.nl/images/vlaggen/mex.gif"
image19.src = "http://www.carriere-manager.nl/images/vlaggen/oost.gif"
image20.src = "http://www.carriere-manager.nl/images/vlaggen/por.gif"
image21.src = "http://www.carriere-manager.nl/images/vlaggen/rus.gif"
image22.src = "http://www.carriere-manager.nl/images/vlaggen/wal.gif"
image23.src = "http://www.carriere-manager.nl/images/vlaggen/zkor.gif"
image24.src = "http://www.carriere-manager.nl/images/vlaggen/scot.gif"
image25.src = "http://www.carriere-manager.nl/images/vlaggen/indo.gif"
}
</script> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title><body>
<form method="post">
<table width="330" cellspacing="0" cellpadding="0">
<tr>
<td width="82"> </td>
<td width="92"><strong>Login gegevens</strong></td>
</tr>
<tr>
<td>Login:</td>
<td><input name="login" type="text" id="login2"></td>
</tr>
<tr>
<td>Wachtwoord:</td>
<td><input name="wachtwoord" type="password" id="wachtwoord3"></td>
</tr>
<tr>
<td>email:</td>
<td><input name="email" type="text" id="email"></td>
</tr>
<tr>
<td> </td>
<td><strong>Persoonlijke gegevens</strong></td>
</tr>
<tr>
<td>Voornaam:</td>
<td><input name="voornaam" type="text" id="voornaam2"></td>
</tr>
<tr>
<td>Achternaam:</td>
<td><input name="achternaam" type="text" id="achternaam2"></td>
</tr>
<tr>
<td>Geboortedatum:</td>
<td><select name="dag" id="dag">
<option selected>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
<select name="maand" id="maand">
<option selected>Januari</option>
<option>Februari</option>
<option>Maart</option>
<option>April</option>
<option>Mei</option>
<option>Juni</option>
<option>Juli</option>
<option>Augustes</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
<select name="jaar" id="jaar">
<option selected>1930</option>
<option>1931</option>
<option>1932</option>
<option>1933</option>
<option>1934</option>
<option>1935</option>
<option>1936</option>
<option>1937</option>
<option>1938</option>
<option>1939</option>
<option>1940</option>
<option>1941</option>
<option>1942</option>
<option>1943</option>
<option>1944</option>
<option>1945</option>
<option>1946</option>
<option>1947</option>
<option>1948</option>
<option>1949</option>
<option>1950</option>
<option>1951</option>
<option>1952</option>
<option>1953</option>
<option>1954</option>
<option>1955</option>
<option>1956</option>
<option>1957</option>
<option>1958</option>
<option>1959</option>
<option>1960</option>
<option>1961</option>
<option>1962</option>
<option>1963</option>
<option>1964</option>
<option>1965</option>
<option>1966</option>
<option>1967</option>
<option>1968</option>
<option>1969</option>
<option>1970</option>
<option>1971</option>
<option>1972</option>
<option>1973</option>
<option>1974</option>
<option>1975</option>
<option>1976</option>
<option>1977</option>
<option>1978</option>
<option>1979</option>
<option>1980</option>
<option>1981</option>
<option>1982</option>
<option>1983</option>
<option>1984</option>
<option>1985</option>
<option>1986</option>
<option>1987</option>
<option>1988</option>
<option>1989</option>
<option>1990</option>
<option>1991</option>
<option>1992</option>
<option>1993</option>
<option>1994</option>
<option>1995</option>
<option>1996</option>
<option>1997</option>
<option>1998</option>
<option>1999</option>
<option>2000</option>
<option>2001</option>
<option>2002</option>
<option>2003</option>
<option>2004</option>
<option>2005</option>
</select> </td>
</tr>
<tr>
<td>Adres+Nr:</td>
<td><input name="adres" type="text" id="adres2"></td>
</tr>
<tr>
<td>Plaats:</td>
<td><input name="plaats" type="text" id="plaats2"></td>
</tr>
<tr>
<td>Land:</td>
<td><select name="afkomst" id="afkomst">
<option selected>Ik kom uit</option>
<option>Nederland</option>
<option>België</option>
<option>Nederlandse Antillen</option>
<option>Suriname</option>
<option>Ander land</option>
</select></td>
</tr>
<tr>
<td> </td>
<td><strong>Club gegevens</strong></td>
</tr>
<tr>
<td>Clubnaam:</td>
<td><input name="clubnaam" type="text" id="clubnaam2"></td>
</tr>
<tr>
<td>Land:</td>
<td><select name="land" id="select">
<option value="nl" selected onMouseDown="document.button.src=image1.src">Nederland
</option>
<option value="en" onMouseover="document.button.src=image2.src">Engeland
</option>
<option value="it" onMouseover="document.button.src=image3.src">Italië
</option>
<option value="du" onMouseover="document.button.src=image4.src">Duitsland
</option>
<option value="fa" onMouseover="document.button.src=image5.src">Frankrijk
</option>
<option value="be" onMouseover="document.button.src=image6.src">België
</option>
<option value="sp" onMouseover="document.button.src=image7.src">Spanje
</option>
<option value="arg" onMouseover="document.button.src=image8.src">Argentinië
</option>
<option value="aus" onMouseover="document.button.src=image9.src">Australië
</option>
<option value="bra" onMouseover="document.button.src=image10.src">Brazilië
</option>
<option value="bul" onMouseover="document.button.src=image11.src">Bulgarije
</option>
<option value="ch" onMouseover="document.button.src=image12.src">Tsjechië
</option>
<option value="cro" onMouseover="document.button.src=image13.src">Croatie
</option>
<option value="den" onMouseover="document.button.src=image14.src">Denemarken
</option>
<option value="fin" onMouseover="document.button.src=image15.src">Finland
</option>
<option value="griek" onMouseover="document.button.src=image16.src">Griekenland
</option>
<option value="jap" onMouseover="document.button.src=image17.src">Japan
</option>
<option value="mex" onMouseover="document.button.src=image18.src">Mexico
</option>
<option value="oost" onMouseover="document.button.src=image19.src">Oostenrijk
</option>
<option value="por" onMouseover="document.button.src=image20.src">Portugal
</option>
<option value="rus" onMouseover="document.button.src=image21.src">Rusland
</option>
<option value="wal" onMouseover="document.button.src=image22.src">Wales
</option>
<option value="zkor" onMouseover="document.button.src=image23.src">Zuid-Korea
</option>
<option value="scot" onMouseover="document.button.src=image24.src">Scotland
</option>
<option value="indo" onMouseover="document.button.src=image25.src">Indonesie
</option>
</select> <img alt="image" src="http://www.carriere-manager.nl/images/vlaggen/nl.gif" name="button" width="18" height="12" />
</td>
</tr>
<tr>
<td>Logo v/d Club:</td>
<td><input name="logoclub" type="text" id="logoclub2" value="http://"></td>
</tr>
<tr>
<td> </td>
<td><strong>Extra Gegevens</strong></td>
</tr>
<tr>
<td>Avatar:</td>
<td><input name="avatar" type="text" id="avatar3" value="http://"></td>
</tr>
<tr>
<td>Motto:</td>
<td><textarea name="motto" cols="30" rows="5" id="textarea"></textarea></td>
</tr>
<tr>
<td>Hoe heb je van Carriere-Manager gehoord?</td>
<td><select name="select">
<option selected>Kies optie</option>
<option>Via een vriend van mij</option>
<option>Via een internet site</option>
<option>Via een magezine</option>
<option>Via een zoekmachine</option>
<option>Anders</option>
</select></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Registreer Nu!">
<input type="reset" name="Submit2" value="Reset Gegevens"></td>
</tr>
</table>
<strong><font color="#FF0000"><em>*Vul Alles goed in!
</em></font></strong>
<p> </p>
</form>
<?
if(isset($_POST['Submit'])) {
if($_POST['login'] == "" || $_POST['wachtwoord'] == "") {
echo "Gelieve alle velden in te vullen!";
} else {
$rg_sql = "INSERT INTO leden (id, voornaam, achternaam, email, clubnaam, land, afkomst, logoclub, motto, leeftijd, adres, plaats, avatar, login, wachtwoord, punten, geld, cmstaff, moderator, ervaring) VALUES ('', '".$_POST['voornaam']."', '".$_POST['achternaam']."', '".$_POST['email']."', '".$_POST['clubnaam']."', '".$_POST['land']."', '".$_POST['afkomst']."', '".$_POST['logoclub']."', '".$_POST['motto']."', '".$_POST['leeftijd']."', '".$_POST['adres']."', '".$_POST['plaats']."', '".$_POST['avatar']."', '".$_POST['login']."', '".md5($_POST['wachtwoord'])."', '0', '500000', '0', '0', '0')";
mysql_query($rg_sql);
echo "Uw account is succesvol geregistreerd! U kunt nu inloggen. Veel plezier op Carriere-Manager!";
}
}
?>
</body>
</html>
<?
} else {
$sql = "SELECT * FROM ban WHERE ip='".$_SERVER['REMOTE_ADDR']."'";
$res = mysql_query($sql);
$fet = mysql_fetch_assoc($res);
$mes = $fet['mes'];
echo $mes;
}
} else {
echo "U bent niet bevoegd om deze pagina te bekijken";
}
ob_end_flush();
?>
<br>
<br>
<br><center>
</center><br><font size="1">
<div align="right"></div>
</font><br></td><td width="120">
<table border="0" height="348" width="100%">
</tr><tr>
<td align="center"> </td>
</tr><tr>
<td align="center"> </td>
</tr></tbody></table></td><td width="20"> </td></tr></tbody></table></td></tr></tbody></table></td></tr><tr height="20">
</center></td></tr></tbody></table></center></td></tr></tbody></table></td></tr></tbody></table></body></html>
<?
include ( "functies.php" ) ;
$var = "iedereen" ;
$toegang = beveiliging( $var ) ;
$ban = ban( ) ;
if ( ! $toegang == 0 ) {
if ( ! $ban == 1 ) {
?> <html>
<script language="javascript">
if (document.images) {
image1 = new Image
image2 = new Image
image3 = new Image
image4 = new Image
image5 = new Image
image6 = new Image
image7 = new Image
image8 = new Image
image9 = new Image
image10 = new Image
image11 = new Image
image12 = new Image
image13 = new Image
image14 = new Image
image15 = new Image
image16 = new Image
image17 = new Image
image18 = new Image
image19 = new Image
image20 = new Image
image21 = new Image
image22 = new Image
image23 = new Image
image24 = new Image
image25 = new Image
image1.src = "http://www.carriere-manager.nl/images/vlaggen/nl.gif"
image2.src = "http://www.carriere-manager.nl/images/vlaggen/en.gif"
image3.src = "http://www.carriere-manager.nl/images/vlaggen/it.gif"
image4.src = "http://www.carriere-manager.nl/images/vlaggen/du.gif"
image5.src = "http://www.carriere-manager.nl/images/vlaggen/fa.gif"
image6.src = "http://www.carriere-manager.nl/images/vlaggen/be.gif"
image7.src = "http://www.carriere-manager.nl/images/vlaggen/sp.gif"
image8.src = "http://www.carriere-manager.nl/images/vlaggen/arg.gif"
image9.src = "http://www.carriere-manager.nl/images/vlaggen/aus.gif"
image10.src = "http://www.carriere-manager.nl/images/vlaggen/bra.gif"
image11.src = "http://www.carriere-manager.nl/images/vlaggen/bul.gif"
image12.src = "http://www.carriere-manager.nl/images/vlaggen/ch.gif"
image13.src = "http://www.carriere-manager.nl/images/vlaggen/cro.gif"
image14.src = "http://www.carriere-manager.nl/images/vlaggen/den.gif"
image15.src = "http://www.carriere-manager.nl/images/vlaggen/fin.gif"
image16.src = "http://www.carriere-manager.nl/images/vlaggen/griek.gif"
image17.src = "http://www.carriere-manager.nl/images/vlaggen/jap.gif"
image18.src = "http://www.carriere-manager.nl/images/vlaggen/mex.gif"
image19.src = "http://www.carriere-manager.nl/images/vlaggen/oost.gif"
image20.src = "http://www.carriere-manager.nl/images/vlaggen/por.gif"
image21.src = "http://www.carriere-manager.nl/images/vlaggen/rus.gif"
image22.src = "http://www.carriere-manager.nl/images/vlaggen/wal.gif"
image23.src = "http://www.carriere-manager.nl/images/vlaggen/zkor.gif"
image24.src = "http://www.carriere-manager.nl/images/vlaggen/scot.gif"
image25.src = "http://www.carriere-manager.nl/images/vlaggen/indo.gif"
}
</script> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title><body>
<form method="post">
<table width="330" cellspacing="0" cellpadding="0">
<tr>
<td width="82"> </td>
<td width="92"><strong>Login gegevens</strong></td>
</tr>
<tr>
<td>Login:</td>
<td><input name="login" type="text" id="login2"></td>
</tr>
<tr>
<td>Wachtwoord:</td>
<td><input name="wachtwoord" type="password" id="wachtwoord3"></td>
</tr>
<tr>
<td>email:</td>
<td><input name="email" type="text" id="email"></td>
</tr>
<tr>
<td> </td>
<td><strong>Persoonlijke gegevens</strong></td>
</tr>
<tr>
<td>Voornaam:</td>
<td><input name="voornaam" type="text" id="voornaam2"></td>
</tr>
<tr>
<td>Achternaam:</td>
<td><input name="achternaam" type="text" id="achternaam2"></td>
</tr>
<tr>
<td>Geboortedatum:</td>
<td><select name="dag" id="dag">
<option selected>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
<select name="maand" id="maand">
<option selected>Januari</option>
<option>Februari</option>
<option>Maart</option>
<option>April</option>
<option>Mei</option>
<option>Juni</option>
<option>Juli</option>
<option>Augustes</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
<select name="jaar" id="jaar">
<option selected>1930</option>
<option>1931</option>
<option>1932</option>
<option>1933</option>
<option>1934</option>
<option>1935</option>
<option>1936</option>
<option>1937</option>
<option>1938</option>
<option>1939</option>
<option>1940</option>
<option>1941</option>
<option>1942</option>
<option>1943</option>
<option>1944</option>
<option>1945</option>
<option>1946</option>
<option>1947</option>
<option>1948</option>
<option>1949</option>
<option>1950</option>
<option>1951</option>
<option>1952</option>
<option>1953</option>
<option>1954</option>
<option>1955</option>
<option>1956</option>
<option>1957</option>
<option>1958</option>
<option>1959</option>
<option>1960</option>
<option>1961</option>
<option>1962</option>
<option>1963</option>
<option>1964</option>
<option>1965</option>
<option>1966</option>
<option>1967</option>
<option>1968</option>
<option>1969</option>
<option>1970</option>
<option>1971</option>
<option>1972</option>
<option>1973</option>
<option>1974</option>
<option>1975</option>
<option>1976</option>
<option>1977</option>
<option>1978</option>
<option>1979</option>
<option>1980</option>
<option>1981</option>
<option>1982</option>
<option>1983</option>
<option>1984</option>
<option>1985</option>
<option>1986</option>
<option>1987</option>
<option>1988</option>
<option>1989</option>
<option>1990</option>
<option>1991</option>
<option>1992</option>
<option>1993</option>
<option>1994</option>
<option>1995</option>
<option>1996</option>
<option>1997</option>
<option>1998</option>
<option>1999</option>
<option>2000</option>
<option>2001</option>
<option>2002</option>
<option>2003</option>
<option>2004</option>
<option>2005</option>
</select> </td>
</tr>
<tr>
<td>Adres+Nr:</td>
<td><input name="adres" type="text" id="adres2"></td>
</tr>
<tr>
<td>Plaats:</td>
<td><input name="plaats" type="text" id="plaats2"></td>
</tr>
<tr>
<td>Land:</td>
<td><select name="afkomst" id="afkomst">
<option selected>Ik kom uit</option>
<option>Nederland</option>
<option>België</option>
<option>Nederlandse Antillen</option>
<option>Suriname</option>
<option>Ander land</option>
</select></td>
</tr>
<tr>
<td> </td>
<td><strong>Club gegevens</strong></td>
</tr>
<tr>
<td>Clubnaam:</td>
<td><input name="clubnaam" type="text" id="clubnaam2"></td>
</tr>
<tr>
<td>Land:</td>
<td><select name="land" id="select">
<option value="nl" selected onMouseDown="document.button.src=image1.src">Nederland
</option>
<option value="en" onMouseover="document.button.src=image2.src">Engeland
</option>
<option value="it" onMouseover="document.button.src=image3.src">Italië
</option>
<option value="du" onMouseover="document.button.src=image4.src">Duitsland
</option>
<option value="fa" onMouseover="document.button.src=image5.src">Frankrijk
</option>
<option value="be" onMouseover="document.button.src=image6.src">België
</option>
<option value="sp" onMouseover="document.button.src=image7.src">Spanje
</option>
<option value="arg" onMouseover="document.button.src=image8.src">Argentinië
</option>
<option value="aus" onMouseover="document.button.src=image9.src">Australië
</option>
<option value="bra" onMouseover="document.button.src=image10.src">Brazilië
</option>
<option value="bul" onMouseover="document.button.src=image11.src">Bulgarije
</option>
<option value="ch" onMouseover="document.button.src=image12.src">Tsjechië
</option>
<option value="cro" onMouseover="document.button.src=image13.src">Croatie
</option>
<option value="den" onMouseover="document.button.src=image14.src">Denemarken
</option>
<option value="fin" onMouseover="document.button.src=image15.src">Finland
</option>
<option value="griek" onMouseover="document.button.src=image16.src">Griekenland
</option>
<option value="jap" onMouseover="document.button.src=image17.src">Japan
</option>
<option value="mex" onMouseover="document.button.src=image18.src">Mexico
</option>
<option value="oost" onMouseover="document.button.src=image19.src">Oostenrijk
</option>
<option value="por" onMouseover="document.button.src=image20.src">Portugal
</option>
<option value="rus" onMouseover="document.button.src=image21.src">Rusland
</option>
<option value="wal" onMouseover="document.button.src=image22.src">Wales
</option>
<option value="zkor" onMouseover="document.button.src=image23.src">Zuid-Korea
</option>
<option value="scot" onMouseover="document.button.src=image24.src">Scotland
</option>
<option value="indo" onMouseover="document.button.src=image25.src">Indonesie
</option>
</select> <img alt="image" src="http://www.carriere-manager.nl/images/vlaggen/nl.gif" name="button" width="18" height="12" />
</td>
</tr>
<tr>
<td>Logo v/d Club:</td>
<td><input name="logoclub" type="text" id="logoclub2" value="http://"></td>
</tr>
<tr>
<td> </td>
<td><strong>Extra Gegevens</strong></td>
</tr>
<tr>
<td>Avatar:</td>
<td><input name="avatar" type="text" id="avatar3" value="http://"></td>
</tr>
<tr>
<td>Motto:</td>
<td><textarea name="motto" cols="30" rows="5" id="textarea"></textarea></td>
</tr>
<tr>
<td>Hoe heb je van Carriere-Manager gehoord?</td>
<td><select name="select">
<option selected>Kies optie</option>
<option>Via een vriend van mij</option>
<option>Via een internet site</option>
<option>Via een magezine</option>
<option>Via een zoekmachine</option>
<option>Anders</option>
</select></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Registreer Nu!">
<input type="reset" name="Submit2" value="Reset Gegevens"></td>
</tr>
</table>
<strong><font color="#FF0000"><em>*Vul Alles goed in!
</em></font></strong>
<p> </p>
</form>
<?
if ( isset ( $_POST [ 'Submit' ] ) ) { if ( $_POST [ 'login' ] == "" || $_POST [ 'wachtwoord' ] == "" ) {
echo "Gelieve alle velden in te vullen!" ; } else {
$rg_sql = "INSERT INTO leden (id, voornaam, achternaam, email, clubnaam, land, afkomst, logoclub, motto, leeftijd, adres, plaats, avatar, login, wachtwoord, punten, geld, cmstaff, moderator, ervaring) VALUES ('', '" . $_POST [ 'voornaam' ] . "', '" . $_POST [ 'achternaam' ] . "', '" . $_POST [ 'email' ] . "', '" . $_POST [ 'clubnaam' ] . "', '" . $_POST [ 'land' ] . "', '" . $_POST [ 'afkomst' ] . "', '" . $_POST [ 'logoclub' ] . "', '" . $_POST [ 'motto' ] . "', '" . $_POST [ 'leeftijd' ] . "', '" . $_POST [ 'adres' ] . "', '" . $_POST [ 'plaats' ] . "', '" . $_POST [ 'avatar' ] . "', '" . $_POST [ 'login' ] . "', '" . md5 ( $_POST [ 'wachtwoord' ] ) . "', '0', '500000', '0', '0', '0')" ; echo "Uw account is succesvol geregistreerd! U kunt nu inloggen. Veel plezier op Carriere-Manager!" ; }
}
?>
</body>
</html>
<?
} else {
$sql = "SELECT * FROM ban WHERE ip='" . $_SERVER [ 'REMOTE_ADDR' ] . "'" ;
$mes = $fet [ 'mes' ] ;
}
} else {
echo "U bent niet bevoegd om deze pagina te bekijken" ; }
?>
<br>
<br>
<br><center>
</center><br><font size="1">
<div align="right"></div>
</font><br></td><td width="120">
<table border="0" height="348" width="100%">
</tr><tr>
<td align="center"> </td>
</tr><tr>
<td align="center"> </td>
</tr></tbody></table></td><td width="20"> </td></tr></tbody></table></td></tr></tbody></table></td></tr><tr height="20">
</center></td></tr></tbody></table></center></td></tr></tbody></table></td></tr></tbody></table></body></html>
Bedankt voor jullie hulp
4 antwoorden
Gesponsorde links
tomk - 03/07/2005 10:14
ASP interesse
Hej bedankt heb het al^^ Heel klein foutje;-) Toch bedankt. MAar dan had ik nog een vraag. Hoe doe ik dan dat ik zeg maar de gegevens in nog een andere tabel wil zetten? zo:
<?
if(isset($_POST['Submit'])) {
if($_POST['login'] == "" || $_POST['wachtwoord'] == "") {
echo "Gelieve alle velden in te vullen!";
} else {
$rg_sql = "INSERT INTO leden (id, voornaam, achternaam, email, clubnaam, land, afkomst, logoclub, motto, leeftijd, adres, plaats, avatar, login, wachtwoord, punten, geld, cmstaff, moderator, ervaring) VALUES ('', '".$_POST['voornaam']."', '".$_POST['achternaam']."', '".$_POST['email']."', '".$_POST['clubnaam']."', '".$_POST['land']."', '".$_POST['afkomst']."', '".$_POST['logoclub']."', '".$_POST['motto']."', '".$_POST['leeftijd']."', '".$_POST['adres']."', '".$_POST['plaats']."', '".$_POST['avatar']."', '".$_POST['login']."', '".md5($_POST['wachtwoord'])."', '0', '500000', '0', '0', '0')";
$rg_sql2 = "INSERT INTO dt_leden (id, voornaam, achternaam, email, clubnaam, land, afkomst, logoclub, motto, leeftijd, adres, plaats, avatar, login, wachtwoord, punten, geld, cmstaff, moderator, ervaring) VALUES ('', '".$_POST['voornaam']."', '".$_POST['achternaam']."', '".$_POST['email']."', '".$_POST['clubnaam']."', '".$_POST['land']."', '".$_POST['afkomst']."', '".$_POST['logoclub']."', '".$_POST['motto']."', '".$_POST['leeftijd']."', '".$_POST['adres']."', '".$_POST['plaats']."', '".$_POST['avatar']."', '".$_POST['login']."', '".md5($_POST['wachtwoord'])."', '0', '500000', '0', '0', '0')";
mysql_query($rg_sql)or die(mysql_error());
mysql_query($rg_sql2)or die(mysql_error());
echo "Uw account is succesvol geregistreerd! U kunt nu inloggen. Veel plezier op Carriere-Manager!";
}
}
?>
<?
if ( isset ( $_POST [ 'Submit' ] ) ) { if ( $_POST [ 'login' ] == "" || $_POST [ 'wachtwoord' ] == "" ) {
echo "Gelieve alle velden in te vullen!" ; } else {
$rg_sql = "INSERT INTO leden (id, voornaam, achternaam, email, clubnaam, land, afkomst, logoclub, motto, leeftijd, adres, plaats, avatar, login, wachtwoord, punten, geld, cmstaff, moderator, ervaring) VALUES ('', '" . $_POST [ 'voornaam' ] . "', '" . $_POST [ 'achternaam' ] . "', '" . $_POST [ 'email' ] . "', '" . $_POST [ 'clubnaam' ] . "', '" . $_POST [ 'land' ] . "', '" . $_POST [ 'afkomst' ] . "', '" . $_POST [ 'logoclub' ] . "', '" . $_POST [ 'motto' ] . "', '" . $_POST [ 'leeftijd' ] . "', '" . $_POST [ 'adres' ] . "', '" . $_POST [ 'plaats' ] . "', '" . $_POST [ 'avatar' ] . "', '" . $_POST [ 'login' ] . "', '" . md5 ( $_POST [ 'wachtwoord' ] ) . "', '0', '500000', '0', '0', '0')" ; $rg_sql2 = "INSERT INTO dt_leden (id, voornaam, achternaam, email, clubnaam, land, afkomst, logoclub, motto, leeftijd, adres, plaats, avatar, login, wachtwoord, punten, geld, cmstaff, moderator, ervaring) VALUES ('', '" . $_POST [ 'voornaam' ] . "', '" . $_POST [ 'achternaam' ] . "', '" . $_POST [ 'email' ] . "', '" . $_POST [ 'clubnaam' ] . "', '" . $_POST [ 'land' ] . "', '" . $_POST [ 'afkomst' ] . "', '" . $_POST [ 'logoclub' ] . "', '" . $_POST [ 'motto' ] . "', '" . $_POST [ 'leeftijd' ] . "', '" . $_POST [ 'adres' ] . "', '" . $_POST [ 'plaats' ] . "', '" . $_POST [ 'avatar' ] . "', '" . $_POST [ 'login' ] . "', '" . md5 ( $_POST [ 'wachtwoord' ] ) . "', '0', '500000', '0', '0', '0')" ; echo "Uw account is succesvol geregistreerd! U kunt nu inloggen. Veel plezier op Carriere-Manager!" ; }
}
?>
Gesponsorde links
Dit onderwerp is gesloten .