PHP ver gevorderde |
|
In registreren.php
<?php
include('config.php');
if($cfg['cronjobs'] != 1) {
include('cronjobs.php');
}
if(isset($_SESSION['gebruiker'])) {
header("Location: ingelogged.php");
}
?>
<?php include('config.php'); if($cfg['cronjobs'] != 1) { include('cronjobs.php'); } if(isset($_SESSION['gebruiker'])) { header("Location: ingelogged.php"); } ?>
Staat dit, config.php word dus geincluded.... en er staat in
config.php
Dus het MOET kunnen,.. want ik registreren, staat er dus GEEN, ob_start(); net als in inlog.php ? |