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

Guests: 14

216.244.x.x forum
3.80.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.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 dilbertplus
46.229.x.x forum
5.255.x.x forum
78.46.x.x forum

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
LGSL without mysql
Webs
Fri Feb 19 2010, 12:25PM
Posts: 19
Joined: Fri Feb 19 2010, 12:15PM
Registered Member #5808
Hello all,
First, I want to thanks for the excellent script !
My question is - Is it possible to add the server IP into a php file? Without mysql? I have Counter-Strike 1.6 server.

Thanks for reply
Website
Rich
Fri Feb 19 2010, 04:17PM
Posts: 1717
Joined: Wed Nov 26 2003, 04:30PM

It is possible, but MySQL is used for a reason, querying servers without caching is bad, so only for people who know what they are doing.

I will give you a hint:
require "lgsl_protocol.php";
$server = lgsl_query_live("etc", "etc"

You can also do this with cache:

require "lgsl/lgsl_files/lgsl_class.php";
$server = lgsl_query_cached("etc", "etc"
Website
Webs
Tue Mar 02 2010, 10:42AM
Posts: 19
Joined: Fri Feb 19 2010, 12:15PM
Registered Member #5808
Thanks Rich, I will try it !
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