All pastes #473469 Raw Edit

Jonano

public php v1 · immutable
·published 2007-05-06 07:57 UTC
rendered paste body
<?php session_start(); ?><html><head><title>Members</title></head><?phpinclude ("mysql.php");if(isset($_SESSION['user'])) {$gn = $_GET['m'];$sqlgm = "SELECT * FROM groups_users WHERE group_name = '$gn' ";$resultgm = mysql_query($sqlgm);while ($linem = mysql_fetch_assoc($resultgm)) {$members = $linem["group_user"];}echo "$members";}if(!isset($_SESSION['user'])) {include "login.php";  echo "<center>You need to log in or <a href=\"signup.php\">register</a> to access our site. You are currently not.</center>";exit;}?>