> Andy B wrote: > >> //log function >> //writes log files >> >> function WriteLog($LogType){ >> switch($LogType: >> case "login": >> //use session vars here... >> ....} > > Yes. >
yes in the latest, all request methods are in the super global scope, $_POST, $_GET, $_SERVER, $_SESSION and constants can be used within the function -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php