Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 19

103.253.x.x forum
178.255.x.x forum
202.109.x.x news
216.244.x.x user
3.80.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.4.x.x dilbertplus
46.4.x.x forum
5.255.x.x forum
78.46.x.x dilbertplus

Last Seen

mrstipfan Wed 19:48
Gagi2 Mon 16:30
EFiNST0RM Sun 15:39
85filip58 Sun 12:14
brlight Tue 04:18

Newest Members

Forums
C0n
Mon Sep 17 2012, 11:58PM
Posts: 33
Joined: Tue Nov 03 2009, 01:54AM
Registered Member #5538
Wussie wrote ...

Just forget about that help file Dave, it was probably meant for older versions of LGSL, now rendered obsolete by the built-in filtering feature of LGSL5.8
The LGSL "engine" uses a function lgsl_query_group() to get a list of servers from the database. When used with no argument, by default it produces a complete list of ALL existing servers, but if you specify an argument (zone number, game type or whatever) then it will only list a group of servers matching that argument, and this is the filtering feature.
It's so simple to use it will blow your mind: all you have to do is edit lgsl_list.php, find the line

$server_list = lgsl_query_group();

and replace it with

$server_list = lgsl_query_group(array("type"=>$_GET['type']));

like the man said, and then visit the address www.yoursite.com/lgsl/?type=source for example to display a list of servers that have type = CS Source. Voila!


I am curious if this is actualy secure and uses "mysql_real_escape_string" for security ?

C0n

Live Steam Server List tracking over 1million servers http://www.steam-hacks.com/servers.html Listing more servers than gametracker and game-monitor
Website
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org