In aanmelden.php zie ik dit:
Je controleert niet of die $_GETs wel bestaan. Dit levert waarschuwingen op.
Je uitlijning is nog steeds helemaal verkeerd in login_check.php & uitloggen.php.
In registratie2.php ook, dit ziet er toch raar uit..niet?
Afbeelding niet beschikbaarDe bron kon niet worden geladen (i.imgur.com).Bron openen ↗
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]//leeggelaten velden error[/COLOR]
[COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]error[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class=error><center>Je mag geen velden leeglaten.</center></div>[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #FF8000]//gebruikersnaam is bezet error[/COLOR]
[COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]error[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="error"><center>Deze gebruikersnaam is bezet.</center></div>[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #FF8000]//leeggelaten velden error[/COLOR]
[COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]error[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]4[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class=error><center>Dit is geen bestaand email-adres.</center></div>[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #FF8000]//gebruiker is succesvol aangemeld[/COLOR]
[COLOR= #0000BB]$aangemeld[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]aangemeld[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$aangemeld[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700])
{[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: /index[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]10[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class=success><center>Je account is succesvol aangemaakt! Je word nu doorgestuurd..</center></div>[/COLOR][COLOR= #007700];
}[/COLOR]
?> Je controleert niet of die $_GETs wel bestaan. Dit levert waarschuwingen op.
Je uitlijning is nog steeds helemaal verkeerd in login_check.php & uitloggen.php.
In registratie2.php ook, dit ziet er toch raar uit..niet?
Afbeelding niet beschikbaarDe bron kon niet worden geladen (i.imgur.com).Bron openen ↗
25: