[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net 2006-06-17T14:06:56+01:00 http://webmasterplein.net/feed.php?f=13&t=6563 1970-01-01T01:00:01+01:00 2006-06-17T14:06:56+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59452#p59452 <![CDATA[Re: Fout in script.(Inloggen)]]> Maarja, dan ga ik dit maar even ook proberen, een soort van na te maken. (Je moet wel dingen leren, hè. Razz )
Bedankt! Smile

Statistieken: Geplaatst door Rik — 17 jun 2006 14:06


]]>
1970-01-01T01:00:01+01:00 2006-06-17T12:57:52+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59449#p59449 <![CDATA[Re: Fout in script.(Inloggen)]]>
[code="php"]
<?php
session_start();
if(isset($_GET['m']))
{
$m = urldecode($_GET['m']);
print $m;
}
if(isset($_SESSION['user']))
{
?>
Welkom op 't <a href="http://www.bloe.net">DreamCMS</a> Admin Control Panel.<br />
U kunt vanaf hier nieuwe pagina's maken, ze bewerken, en verwijderen.<br />
Links, in 't menu kunt u kiezen wat u wilt doen.
Als u problemen heeft met DreamCMS kunt u <a href="http://www.bloe.net">hier</a> terecht.
<?php
}
else
{
$login = $HTTP_POST_VARS['login'];
if(isset($login))
{
if(($_POST['username'] == 'Bloe') AND ($_POST['password'] == 'sjaak'))
{
$_SESSION['user'] = $_POST['username'];
$message = urlencode('U bent met succes ingelogt!<br /><br />');
header('location: test.php?m=' . $message);
}
else
{
$message = urlencode('Uw wachtwoord en / of gebruikersnaam waren verkeerd, log a.u.b. opnieuw in.<br /><br />');
header('location: test.php?m=' . $message);
}
}
else
{
?>
<form method="post" action="test.php">
Gebruikersnaam: <input type="text" value="" name="username" /><br />
Wachtwoord: <input type="password" value="" name="password" /><br />
<input type="submit" name="login" value="Login!" />
</form>
<?php
}
}
?>
[/code]

Statistieken: Geplaatst door Robin — 17 jun 2006 12:57


]]>
1970-01-01T01:00:01+01:00 2006-06-17T05:51:02+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59443#p59443 <![CDATA[Re: Fout in script.(Inloggen)]]> Statistieken: Geplaatst door Rik — 17 jun 2006 05:51


]]>
1970-01-01T01:00:01+01:00 2006-06-16T22:46:32+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59436#p59436 <![CDATA[Re: Fout in script.(Inloggen)]]> Statistieken: Geplaatst door Derk — 16 jun 2006 22:46


]]>
1970-01-01T01:00:01+01:00 2006-06-16T20:59:02+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59423#p59423 <![CDATA[Re: Fout in script.(Inloggen)]]> Statistieken: Geplaatst door Robin — 16 jun 2006 20:59


]]>
1970-01-01T01:00:01+01:00 2006-06-15T16:13:34+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59296#p59296 <![CDATA[Re: Fout in script.(Inloggen)]]> Statistieken: Geplaatst door Rik — 15 jun 2006 16:13


]]>
1970-01-01T01:00:01+01:00 2006-06-15T09:54:43+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59287#p59287 <![CDATA[Re: Fout in script.(Inloggen)]]>

Statistieken: Geplaatst door Derk — 15 jun 2006 09:54


]]>
1970-01-01T01:00:01+01:00 2006-06-14T06:06:19+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59247#p59247 <![CDATA[Re: Fout in script.(Inloggen)]]> Dat stuk tekst staat buiten PHP.
En ik gebruik al Notepad2. Smile

Statistieken: Geplaatst door Rik — 14 jun 2006 06:06


]]>
1970-01-01T01:00:01+01:00 2006-06-13T20:43:35+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59223#p59223 <![CDATA[Re: Fout in script.(Inloggen)]]>
Tip: gebruik een text-editor met php-syntaxis, zodat je dit soort fouten snel kan ontdekken. Smile

Statistieken: Geplaatst door KillerSponge — 13 jun 2006 20:43


]]>
1970-01-01T01:00:01+01:00 2006-06-13T20:35:55+01:00 http://webmasterplein.net/viewtopic.php?t=6563&p=59222#p59222 <![CDATA[Fout in script.(Inloggen)]]> Hij werkt niet, maar ik kan er geen fout uit halen.
Het werkt met sessies, maar 't lijkt of de sessies niet aangemaakt worden.
Login.php wordt dus zomaar weer geinclude.
Mijn PHP op index.php, bovenaan staat nog session_start:

[code="php"]
<?php
if(isset($_GET['m'])){
$m = urldecode($_GET['m']);
print $m;
}
if(isset($_SESSION['user'])){
?>
Welkom op 't <a href="http://www.bloe.net">DreamCMS</a> Admin Control Panel.<br />
U kunt vanaf hier nieuwe pagina's maken, ze bewerken, en verwijderen.<br />
Links, in 't menu kunt u kiezen wat u wilt doen.
Als u problemen heeft met DreamCMS kunt u <a href="http://www.bloe.net">hier</a> terecht.
<?php
} else {
include('login.php');
}
?>[/code]
En dan natuurlijk ook login.php:
[code="php"]<?php
$login = $_GET['login'];
if(isset($login)){
if(($_POST['username'] == 'Bloe') AND ($_POST['password'] == '***')){
$_SESSION['user'] = $_POST['username'];
$message = urlencode('U bent met succes ingelogt!<br /><br />');
header('location: index.php?m=' . $message);
} else {
$message = urlencode('Uw wachtwoord en / of gebruikersnaam waren verkeerd, log a.u.b. opnieuw in.<br /><br />');
header('location: index.php?m=' . $message);
}
} else {
?>
<form method="post" action="login.php?login=true">
Gebruikersnaam: <input type="text" value="" name="username" /><br />
Wachtwoord: <input type="password" value="" name="password" /><br />
<input type="submit" name="submit" value="Login!" />
</form>
<?php
}
?>[/code]
Kunnen jullie er iets in ontdekken?
Alvast bedankt,

Bloe.

Statistieken: Geplaatst door Rik — 13 jun 2006 20:35


]]>