mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 23:34:01 +01:00
17 lines
528 B
PHP
17 lines
528 B
PHP
<?php
|
|
if (!isset($_SESSION['loggedIn'])) {
|
|
die('Sorry, not logged in.');
|
|
}
|
|
// Purpose: This file is run when a new user sets up
|
|
// Langs: PHP (tho can concat JS within $doNext string, see below)
|
|
// Example:
|
|
// $fh = fopen(dirname(__FILE__)."/../user-access.log", 'a');
|
|
// fwrite($fh, "NEW >>> ".date("D dS M Y h:i:sa").": ".$_SESSION['username']."\n");
|
|
// fclose($fh);
|
|
|
|
if (false === isset($doNext)) {
|
|
$doNext = "";
|
|
}
|
|
// If JS is needed, add within $doNext string below, eg $doNext .= ";alert('new user');";
|
|
$doNext .= "";
|