Xoom3r Posted July 29, 2008 Share Posted July 29, 2008 Hey there! guys. I waned to know few things that got shown here a while ago. 1st. A script that does something like this: showmap.php?map=12 . 2nd. Simple way to make a registration + login + comments script. 3rd. something like index.php?action=download (only logged in users can download) Can you please help and not refer me to other places? Link to comment https://forums.phpfreaks.com/topic/117133-few-things-that-got-forgotten/ Share on other sites More sharing options...
MasterACE14 Posted July 29, 2008 Share Posted July 29, 2008 1st. use <?php echo $_GET['map']; // will display 12 2nd. google it. There is plenty of free ones out there, and examples. 3rd. check if the user is logged in, normally by checking for a session variable. <?php if(isset($_SESSION['username'])) { // if the user is logged in header("Location: index.php?action=download"); // redirect them to the download page } Regards ACE Link to comment https://forums.phpfreaks.com/topic/117133-few-things-that-got-forgotten/#findComment-602469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.