Menü

  Login

  Shoutbox

  Forum » Fragen zu Ilch » Andere Dinge » Max User Connections


Max User Connections
sCar
Mitglied

User Pic

Posts: 53
# 22.08.2010 - 01:42:44
    zitieren



Huhu,

habe leider folgendes Problem.
immer wenn ich meine Seite ein paar mal hintereinander lade bekomme ich eine fehlermeldung. habe schon selbst versucht das problem zu beheben
hier ma die fehlermeldung
 Zitat
Warning: mysql_connect() [function.mysql-connect]: User ngt_zone_de already has more than 'max_user_connections' active connections in /customers/ngt-zone.de/ngt-zone.de/...tras/lgsl/lgsl_files/lgsl_class.php on line 131

hier die Datei mit der besagten Zeile
 Php
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
750:
751:
752:
753:
754:
755:
756:
757:
758:
759:
760:
761:
762:
763:
764:
765:
766:
767:
768:
769:
770:
771:
772:
773:
774:
775:
776:
777:
778:
779:
780:
781:
782:
783:
784:
785:
786:
787:
788:
789:
790:
791:
792:
793:
794:
795:
796:
797:
798:
799:
800:
801:
802:
803:
804:
805:
806:
807:
808:
809:
810:
811:
812:
813:
814:
815:
816:
817:
818:
819:
820:
821:
822:
823:
824:
825:
826:
827:
828:
829:
830:
831:
832:
833:
834:
835:
836:
837:
838:
839:
840:
841:
842:
843:
844:
845:
846:
847:
848:
849:
850:
851:
852:
853:
854:
855:
856:
857:
858:
859:
860:
861:
862:
863:
864:
865:
866:
867:
868:
869:
870:
871:
872:
873:
874:
875:
876:
877:
878:
879:
880:
881:
882:
883:
884:
885:
886:
887:
888:
889:
890:
891:
892:
893:
894:
895:
896:
  <?php

 
/*----------------------------------------------------------------------------------------------------------\
 |                                                                                                            |
 |                      [ LIVE GAME SERVER LIST ] [ © RICHARD PERRY FROM GREYCUBE.COM ]                       |
 |                                                                                                            |
 |    Released under the terms and conditions of the GNU General Public License Version 3 (http://gnu.org)    |
 |                                                                                                            |
 |-------------------------------------------------------------------------------------------------------------
 |        [ EDITOR STYLE SETTINGS: LUCIDA CONSOLE, SIZE 10, TAB = 2 SPACES, BOLD GLOBALLY TURNED OFF ]        |
 \-----------------------------------------------------------------------------------------------------------*/
defined ('main') or die ( 'no direct access' );
//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_bg')) {
  function 
lgsl_bg($rotation_overide "no")
  {
    global 
$lgsl_config;
    global 
$lgsl_bg_rotate;

    if (
$rotation_overide !== "no")
    {
      
$lgsl_bg_rotate $rotation_overide TRUE FALSE;
    }
    else
    {
      
$lgsl_bg_rotate $lgsl_bg_rotate FALSE TRUE;
    }

    
$background $lgsl_bg_rotate $lgsl_config['background'][1] : $lgsl_config['background'][2];

    return 
$background;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_link')) {
  function 
lgsl_link($s)
  {
    global 
$lgsl_config$lgsl_url_path;

    
$index $lgsl_config['direct_index'] ? "index.php" "";

    if (
$lgsl_config['cms'] == "e107")
    {
      
$link is_numeric($s) ? e_PLUGIN."lgsl/{$index}?s={$s}e_PLUGIN."lgsl/{$index}";
    }

    elseif (
$lgsl_config['cms'] == "joomla")
    {
      
$link is_numeric($s) ? JRoute::_("index.php?option=com_lgsl&s={$s}") : JRoute::_("index.php?option=com_lgsl");
    }

    elseif (
$lgsl_config['cms'] == "phpnuke")
    {
      
$link is_numeric($s) ? "modules.php?name=LGSL&s={$s}"modules.php?name=LGSL";
    }

    elseif (
$lgsl_config['cms'] == "sa")
    {
      
$link is_numeric($s) ? $lgsl_url_path."../{$index}?s={$s}$lgsl_url_path."../{$index}";
    }
    elseif (
$lgsl_config['cms'] == "ilch")
    {
      
$link is_numeric($s) ? "index.php?serverview&s={$s}"index.php?serverview&";
    }

    return 
$link;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_database')) {
  function 
lgsl_database()
  {
    global 
$lgsl_database$lgsl_config$lgsl_file_path;

    if (!
$lgsl_config['db']['pass'])
    {
      if (
$lgsl_config['cms'] == "e107")
      {
        @include 
$lgsl_file_path."../../../e107_config.php";

        
$lgsl_config['db']['server'] = $mySQLserver;
        
$lgsl_config['db']['user']   = $mySQLuser;
        
$lgsl_config['db']['pass']   = $mySQLpassword;
        
$lgsl_config['db']['db']     = $mySQLdefaultdb;
        
$lgsl_config['db']['prefix'] = $mySQLprefix;
      }

      elseif (
$lgsl_config['cms'] == "joomla")
      {
        @include_once 
$lgsl_file_path."../../../configuration.php";

        
$joomla_config = new JConfig();

        
$lgsl_config['db']['server'] = $joomla_config->host;
        
$lgsl_config['db']['user']   = $joomla_config->user;
        
$lgsl_config['db']['pass']   = $joomla_config->password;
        
$lgsl_config['db']['db']     = $joomla_config->db;
        
$lgsl_config['db']['prefix'] = $joomla_config->dbprefix;
      }

      elseif (
$lgsl_config['cms'] == "phpnuke")
      {
        @include 
$lgsl_file_path."../../../config.php";
        @include 
$lgsl_file_path."../../../includes/config.php";

        
$lgsl_config['db']['server'] = $dbhost;
        
$lgsl_config['db']['user']   = $dbuname;
        
$lgsl_config['db']['pass']   = $dbpass;
        
$lgsl_config['db']['db']     = $dbname;
        
$lgsl_config['db']['prefix'] = $prefix."_";
      }

      elseif (
$lgsl_config['cms'] == "ilch")
      {
        global 
$lgsl_file_path;
        @include 
$lgsl_file_path."../../../include/includes/config.php";
        @include 
$lgsl_file_path."../../../include/includes/loader.php";

        
$lgsl_config['db']['server'] = DBHOST;
        
$lgsl_config['db']['user']   = DBUSER;
        
$lgsl_config['db']['pass']   = DBPASS;
        
$lgsl_config['db']['db']     = DBDATE;
        
$lgsl_config['db']['prefix'] = DBPREF;
        
db_connect();
      }
    }

    
$lgsl_database  mysql_connect($lgsl_config['db']['server'], $lgsl_config['db']['user'], $lgsl_config['db']['pass']) or die(mysql_error());
    
$lgsl_select_db mysql_select_db($lgsl_config['db']['db'], $lgsl_database) or die(mysql_error());
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_query_cached')) {
  function 
lgsl_query_cached($type$ip$c_port$q_port$s_port$request)
  {
    global 
$lgsl_config;

    
lgsl_database();

    
// PROTECT THE DATABASE QUERY

    
$type    mysql_real_escape_string($type);
    
$ip      mysql_real_escape_string($ip);
    
$c_port  mysql_real_escape_string(intval($c_port));
    
$q_port  mysql_real_escape_string(intval($q_port));
    
$s_port  mysql_real_escape_string(intval($s_port));

    
// GET CACHE

    
$mysql_query  "SELECT * FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE `type`='{$type}' AND `ip`='{$ip}' AND `q_port`='{$q_port}' LIMIT 1";
    
$mysql_result mysql_query($mysql_query) or die(mysql_error());
    
$mysql_row    mysql_fetch_array($mysql_resultMYSQL_ASSOC);

    
// CHECK IF SERVER IS NOT IN THE DATABASE AND ADD IF REQUESTED

    
if (!$mysql_row)
    {
      if (
strpos($request"a") !== FALSE)
      {
        
$mysql_query     "INSERT INTO `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` (`type`,`ip`,`c_port`,`q_port`,`s_port`,`cache`,`cache_time`) VALUES ('{$type}','{$ip}','{$c_port}','{$q_port}','{$s_port}','','')";
        
$mysql_result    mysql_query($mysql_query) or die(mysql_error());
        
$mysql_row['id'] = mysql_insert_id();
      }
      else
      {
        echo 
"LGSL PROBLEM: REQUESTED SERVER NOT IN DATABASE: '{$ip}{$q_port}{$c_port}{$s_port}{$type}{$request}'"; exit;
      }
    }

    
// UNPACK CACHE AND CACHE TIMES

    
$cache         unserialize($mysql_row['cache']);
    
$cache_time    explode("_"$mysql_row['cache_time']);
    
$cache_time[0] = intval($cache_time[0]);
    
$cache_time[1] = intval($cache_time[1]);
    
$cache_time[2] = intval($cache_time[2]);

    
// FILL ANYTHING NOT CACHED WITH DEFAULT VALUES

    
if (!isset($cache['b']))
    {
      
$cache['b']['type']    = $type;
      
$cache['b']['ip']      = $ip;
      
$cache['b']['c_port']  = $c_port;
      
$cache['b']['q_port']  = $q_port;
      
$cache['b']['s_port']  = $s_port;
      
$cache['b']['request'] = $request;
      
$cache['b']['status']  = 0;
      
$cache['b']['pending'] = 1;
      
$cache['o']['id']      = $mysql_row['id'];
      
$cache['o']['zone']    = $mysql_row['zone'];
    }

    if (!isset(
$cache['s']))
    {
      
$cache['s']['game']       = $type;
      
$cache['s']['name']       = $lgsl_config['text']['nnm'];
      
$cache['s']['map']        = $lgsl_config['text']['nmp'];
      
$cache['s']['players']    = 0;
      
$cache['s']['playersmax'] = 0;
      
$cache['s']['password']   = 0;
    }

    if (!isset(
$cache['e']))
    {
      
$cache['e'] = array();
    }

    if (!isset(
$cache['e']))
    {
      
$cache['p'] = array();
    }

    
// CHECK WHAT IS NEEDED

    
$needed "";

    if (
strpos($request"s") !== FALSE && time() > ($lgsl_config['cache_time'] + $cache_time[0])) { $needed .= "s"; }
    if (
strpos($request"e") !== FALSE && time() > ($lgsl_config['cache_time'] + $cache_time[1])) { $needed .= "e"; }
    if (
strpos($request"p") !== FALSE && time() > ($lgsl_config['cache_time'] + $cache_time[2])) { $needed .= "p"; }
    if (
strpos($request"c") !== FALSE) { $needed ""; } // CACHE ONLY REQUEST

    // GET WHAT IS NEEDED

    
if ($needed)
    {
      
$live lgsl_query_live($type$ip$c_port$q_port$s_port$needed);

      
// IF SERVER IS OFFLINE PRESERVE SOME OF THE CACHE

      
if (!$live['b']['status'])
      {
        
$live['s']['game']       = $cache['s']['game'];
        
$live['s']['name']       = $cache['s']['name'];
        
$live['s']['map']        = $cache['s']['map'];
        
$live['s']['playersmax'] = $cache['s']['playersmax'];
        
$live['s']['password']   = $cache['s']['password'];
      }

      
// MERGE LIVE INTO CACHE

      
if (isset($live['b'])) { $cache['b'] = $live['b']; }
      if (isset(
$live['s'])) { $cache['s'] = $live['s']; $cache_time[0] = time(); }
      if (isset(
$live['e'])) { $cache['e'] = $live['e']; $cache_time[1] = time(); }
      if (isset(
$live['p'])) { $cache['p'] = $live['p']; $cache_time[2] = time(); }
    }

    
// PACK FOR DATABASE AND SAVE

    
$packed_cache      mysql_real_escape_string(serialize($cache));
    
$packed_cache_time mysql_real_escape_string(implode("_"$cache_time));

    
$mysql_query  "UPDATE `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` SET `status`='{$cache['b']['status']}',`cache`='{$packed_cache}',`cache_time`='{$packed_cache_time}' WHERE `id`='{$mysql_row['id']}' LIMIT 1";
    
$mysql_result mysql_query($mysql_query) or die(mysql_error());

    
// RETURN ONLY THE REQUESTED

    
if (strpos($request"s") === FALSE) { unset($cache['s']); }
    if (
strpos($request"e") === FALSE) { unset($cache['e']); }
    if (
strpos($request"p") === FALSE) { unset($cache['p']); }

    return 
$cache;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_query_cached_all')) {
  function 
lgsl_query_cached_all($request)
  {
    global 
$lgsl_config;

    
lgsl_database();

    
$mysql_query  "SELECT `type`,`ip`,`c_port`,`q_port`,`s_port` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE `disabled`=0 ORDER BY `cache_time` ASC";
    
$mysql_result mysql_query($mysql_query) or die(mysql_error());

    
$server_list  = array();

    while (
$mysql_row mysql_fetch_array($mysql_resultMYSQL_ASSOC))
    {
      if (
strpos($request"c") === FALSE && lgsl_timer("check")) { $request .= "c"; }

      
$server lgsl_query_cached($mysql_row['type'], $mysql_row['ip'], $mysql_row['c_port'], $mysql_row['q_port'], $mysql_row['s_port'], $request);

      if (
$lgsl_config['hide_offline'][0] && !$server['b']['status']) { continue; }

      
$server_list[] = $server;
    }

    return 
$server_list;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_query_cached_zone')) {
  function 
lgsl_query_cached_zone($request$zone_number)
  {
    global 
$lgsl_config;

    
lgsl_database();

    
$zone_number intval($zone_number);
    
$zone_random intval($lgsl_config['random'][$zone_number]);

    if (
$zone_random)
    {
      
$mysql_query "SELECT `type`,`ip`,`c_port`,`q_port`,`s_port` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE `zone`='{$zone_number}' AND `disabled`=0 ORDER BY rand()";
    }
    else
    {
      
$mysql_query "SELECT `type`,`ip`,`c_port`,`q_port`,`s_port` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE `zone`='{$zone_number}' AND `disabled`=0 ORDER BY `cache_time` ASC";
    }

    
$mysql_result mysql_query($mysql_query) or die(mysql_error());

    
$server_list  = array();

    while (
$mysql_row mysql_fetch_array($mysql_resultMYSQL_ASSOC))
    {
      if (
strpos($request"c") === FALSE && lgsl_timer("check")) { $request .= "c"; }

      
$server lgsl_query_cached($mysql_row['type'], $mysql_row['ip'], $mysql_row['c_port'], $mysql_row['q_port'], $mysql_row['s_port'], $request);

      if (
$lgsl_config['hide_offline'][$zone_number] && !$server['b']['status']) { continue; }

      
$server_list[] = $server;

      if (
$zone_random && $zone_random >= count($server_list)) { break; }
    }

    return 
$server_list;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_cached_totals')) {
  function 
lgsl_cached_totals()
  {
    global 
$lgsl_config;

    
lgsl_database();

    
$mysql_query  "SELECT `cache` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE `disabled`=0";
    
$mysql_result mysql_query($mysql_query) or die(mysql_error());

    
$total['players']         = 0;
    
$total['playersmax']      = 0;
    
$total['servers']         = 0;
    
$total['servers_online']  = 0;
    
$total['servers_offline'] = 0;

    while (
$mysql_row mysql_fetch_array($mysql_resultMYSQL_ASSOC))
    {
      
$server unserialize($mysql_row['cache']);

      
$total['players']    += $server['s']['players'];
      
$total['playersmax'] += $server['s']['playersmax'];

                                    
$total['servers']         ++;
      if (
$server['b']['status']) { $total['servers_online']  ++; }
      else                        { 
$total['servers_offline'] ++; }
    }

    return 
$total;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_lookup_id')) {
  function 
lgsl_lookup_id($id)
  {
    global 
$lgsl_config;

    
lgsl_database();

    
$id           mysql_real_escape_string(intval($id));
    
$mysql_query  "SELECT `type`,`ip`,`c_port`,`q_port`,`s_port` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE `id`='{$id}' LIMIT 1";
    
$mysql_result mysql_query($mysql_query) or die(mysql_error());
    
$mysql_row    mysql_fetch_array($mysql_resultMYSQL_ASSOC);

    return 
$mysql_row;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_timer')) {
  function 
lgsl_timer($action)
  {
    global 
$lgsl_config;
    global 
$lgsl_timer;

    if (!
$lgsl_timer)
    {
      
$microtime  microtime();
      
$microtime  explode(' '$microtime);
      
$microtime  $microtime[1] + $microtime[0];
      
$lgsl_timer $microtime 0.01;
    }

    
$time_limit intval($lgsl_config['live_time']);
    
$time_php   ini_get("max_execution_time");

    if (
$time_limit $time_php)
    {
      @
set_time_limit($time_limit 5);

      
$time_php ini_get("max_execution_time");

      if (
$time_limit $time_php)
      {
        
$time_limit $time_php 5;
      }
    }

    if (
$action == "limit")
    {
      return 
$time_limit;
    }

    
$microtime  microtime();
    
$microtime  explode(' '$microtime);
    
$microtime  $microtime[1] + $microtime[0];
    
$time_taken $microtime $lgsl_timer;

    if (
$action == "check")
    {
      return (
$time_taken $time_limit) ? TRUE FALSE;
    }
    else
    {
      return 
round($time_taken2);
    }
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_server_misc')) {
  function 
lgsl_server_misc($server)
  {
    global 
$lgsl_config$lgsl_url_path;

    
$misc['icon_details']       = $lgsl_url_path."other/icon_details.gif";
    
$misc['icon_game']          = lgsl_icon_game($server['b']['type'], $server['s']['game']);
    
$misc['icon_status']        = lgsl_icon_status($server['b']['status'], $server['s']['password'], $server['b']['pending']);
    
$misc['image_map']          = lgsl_image_map($server['b']['status'], $server['b']['type'], $server['s']['game'], $server['s']['map']);
    
$misc['image_map_password'] = lgsl_image_map_password($server['b']['status'], $server['s']['password']);
    
$misc['text_status']        = lgsl_text_status($server['b']['status'], $server['s']['password'], $server['b']['pending']);
    
$misc['text_type_game']     = lgsl_text_type_game($server['b']['type'], $server['s']['game']);
    
$misc['name_filtered']      = lgsl_name_filtered($server['s']['name']);
    
$misc['software_link']      = lgsl_software_link($server['b']['type'], $server['b']['ip'], $server['b']['c_port'], $server['b']['q_port'], $server['b']['s_port']);

    return 
$misc;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_icon_game')) {
  function 
lgsl_icon_game($type$game)
  {
    global 
$lgsl_file_path$lgsl_url_path;

    
$type preg_replace("/[^A-Za-z0-9_]/""_"strtolower($type));
    
$game preg_replace("/[^A-Za-z0-9_]/""_"strtolower($game));

    if (
file_exists("{$lgsl_file_path}icons/{$type}/{$game}.gif"))
    {
      return 
"{$lgsl_url_path}icons/{$type}/{$game}.gif";
    }

    if (
file_exists("{$lgsl_file_path}icons/{$type}/{$type}.gif"))
    {
      return 
"{$lgsl_url_path}icons/{$type}/{$type}.gif";
    }

    return 
"{$lgsl_url_path}other/icon_unknown.gif";
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_icon_status')) {
  function 
lgsl_icon_status($status$password$pending 0)
  {
    global 
$lgsl_url_path;

    if (
$pending)  { return "{$lgsl_url_path}other/icon_unknown.gif"; }
    if (!
$status)  { return "{$lgsl_url_path}other/icon_no_response.gif"; }
    if (
$password) { return "{$lgsl_url_path}other/icon_online_password.gif"; }

    return 
"{$lgsl_url_path}other/icon_online.gif";
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_image_map')) {
  function 
lgsl_image_map($status$type$game$map$check_exists TRUE)
  {
    global 
$lgsl_file_path$lgsl_url_path;

    if (!
$status)
    {
      return 
"{$lgsl_url_path}other/map_no_response.jpg";
    }

    
$type preg_replace("/[^A-Za-z0-9_]/""_"strtolower($type));
    
$game preg_replace("/[^A-Za-z0-9_]/""_"strtolower($game));
    
$map  preg_replace("/[^A-Za-z0-9_]/""_"strtolower($map));

    if (
file_exists("{$lgsl_file_path}maps/{$type}/{$game}/{$map}.jpg") || $check_exists == FALSE)
    {
      return 
"{$lgsl_url_path}maps/{$type}/{$game}/{$map}.jpg";
    }

    if (
file_exists("{$lgsl_file_path}maps/{$type}/{$game}/{$map}.gif"))
    {
      return 
"{$lgsl_url_path}maps/{$type}/{$game}/{$map}.gif";
    }

    if (
file_exists("{$lgsl_file_path}maps/{$type}/{$map}.jpg"))
    {
      return 
"{$lgsl_url_path}maps/{$type}/{$map}.jpg";
    }

    if (
file_exists("{$lgsl_file_path}maps/{$type}/{$map}.gif"))
    {
      return 
"{$lgsl_url_path}maps/{$type}/{$map}.gif";
    }

    return 
"{$lgsl_url_path}other/map_no_image.jpg";
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_image_map_password')) {
  function 
lgsl_image_map_password($status$password)
  {
    global 
$lgsl_url_path;

    if (!
$password || !$status) { return "{$lgsl_url_path}other/map_overlay.gif"; }

    return 
"{$lgsl_url_path}other/map_overlay_password.gif";
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_text_status')) {
  function 
lgsl_text_status($status$password$pending 0)
  {
    global 
$lgsl_config;

    if (
$pending)  { return $lgsl_config['text']['pen']; }
    if (!
$status)  { return $lgsl_config['text']['nrs']; }
    if (
$password) { return $lgsl_config['text']['onp']; }

    return 
$lgsl_config['text']['onl'];
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_text_type_game')) {
  function 
lgsl_text_type_game($type$game)
  {
    global 
$lgsl_config;

    return 
"[ {$lgsl_config['text']['typ']} {$type} ] [ {$lgsl_config['text']['gme']} {$game} ]";
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_name_filtered')) {
  function 
lgsl_name_filtered($name)
  {
    
$name preg_replace("/[^\x20-\x7E]/"""$name); // x20-x7E IS HEX FOR ASCII RANGE
    
$name lgsl_string_html($name);

    return 
$name;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_servers')) {
  function 
lgsl_sort_servers($server_list)
  {
    global 
$lgsl_config;

    if (!
is_array($server_list)) { return $server_list; }

    if     (
$lgsl_config['sort']['servers'] == "id")      { usort($server_list"lgsl_sort_servers_by_id");      }
    elseif (
$lgsl_config['sort']['servers'] == "players") { usort($server_list"lgsl_sort_servers_by_players"); }
    elseif (
$lgsl_config['sort']['servers'] == "zone")    { usort($server_list"lgsl_sort_servers_by_zone");    }

    return 
$server_list;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_servers_by_players')) {
  function 
lgsl_sort_servers_by_players($server_a$server_b)
  {
    if (
$server_a['s']['players'] == $server_b['s']['players']) { return 0; }

    return (
$server_a['s']['players'] < $server_b['s']['players']) ? : -1;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_servers_by_id')) {
  function 
lgsl_sort_servers_by_id($server_a$server_b)
  {
    if (
$server_a['o']['id'] == $server_b['o']['id']) { return 0; }

    return (
$server_a['o']['id'] > $server_b['o']['id']) ? : -1;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_servers_by_zone')) {
  function 
lgsl_sort_servers_by_zone($server_a$server_b)
  {
    if (
$server_a['o']['zone'] == $server_b['o']['zone']) { return 0; }

    return (
$server_a['o']['zone'] > $server_b['o']['zone']) ? : -1;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_extras')) {
  function 
lgsl_sort_extras($server)
  {
    if (!
is_array($server['e'])) { return $server; }

    
ksort($server['e']);

    return 
$server;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_players')) {
  function 
lgsl_sort_players($server)
  {
    global 
$lgsl_config;

    if (!
is_array($server['p'])) { return $server; }

    if     (
$lgsl_config['sort']['players'] == "name")  { usort($server['p'], "lgsl_sort_players_by_name");  }
    elseif (
$lgsl_config['sort']['players'] == "score") { usort($server['p'], "lgsl_sort_players_by_score"); }

    return 
$server;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_players_by_score')) {
  function 
lgsl_sort_players_by_score($player_a$player_b)
  {
    if (
$player_a['score'] == $player_b['score']) { return 0; }

    return (
$player_a['score'] < $player_b['score']) ? : -1;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_sort_players_by_name')) {
  function 
lgsl_sort_players_by_name($player_a$player_b)
  {
    
// FILTER NON ALPHA NUMERIC CHARACTERS FROM NAME

    
$string_a preg_replace("/[^a-z\d]/i"""$player_a['name']);
    
$string_b preg_replace("/[^a-z\d]/i"""$player_b['name']);

    
// IF ONE OF THE NAMES IS COMPLETELY NON ALPHA NUMERIC THEN PUT IT LAST

    
if (!$string_a) { return  1; }
    if (!
$string_b) { return -1; }

    
// IF BOTH NAMES ARE COMPLETELY NON ALPHA NUMERIC THEN FALLBACK TO UNFILTERED

    
if (!$string_a && !$string_b)
    {
      
$string_a $player_a['name'];
      
$string_b $player_b['name'];
    }

    
// OTHERWISE MAKE THEM LOWERCASE

    
else
    {
      
$string_a strtolower($string_a);
      
$string_b strtolower($string_b);
    }

    
// COMPARE EACH CHARACTER SO ITS SORTED ASCENDING ( A TO Z )

    
$string_length strlen($string_a);

    for (
$i=0$i<$string_length$i++)
    {
      
$char_a ord($string_a[$i]);
      
$char_b ord($string_b[$i]);

      if (
$char_a $char_b) { return -1; }
      if (
$char_a $char_b) { return  1; }
    }

    
// AT THIS POINT THE TWO NAMES ARE EQUAL IN ORDER

    
return 0;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_server_html')) {
  function 
lgsl_server_html($server)
  {
    if (
is_array($server['s']))
    {
      foreach (
$server['s'] as $key => $value)
      {
        
$server['s'][$key] = lgsl_string_html($value);
      }
    }

    if (
is_array($server['e']))
    {
      foreach (
$server['e'] as $key => $value)
      {
        
$value wordwrap($value90"\x00\x01"TRUE);    // \x00\x01 PLACEHOLDER FOR <BR /> TO PREVENT IT BEING ENTITIED
        
$value lgsl_string_html($value);
        
$value str_replace("\x00\x01""<br />"$value); // CHANGE PLACEHOLDER INTO ACTUALY <BR />

        
$server['e'][$key] = $value;
      }
    }

    if (
is_array($server['p']))
    {
      foreach (
$server['p'] as $key => $player)
      {
        
$server['p'][$key]['name'] = lgsl_string_html($player['name']);
      }
    }

    return 
$server;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_string_html')) {
  function 
lgsl_string_html($string$xml_feed FALSE)
  {
    if (
$xml_feed != FALSE)
    {
      
$string htmlspecialchars($stringENT_QUOTES);
    }
    elseif (
function_exists("mb_convert_encoding")) // REQUIRES http://php.net/mbstring
    
{
      
$string htmlspecialchars($stringENT_QUOTES);
      
$string = @mb_convert_encoding($string"HTML-ENTITIES""UTF-8");
    }
    else
    {
      
$string htmlentities($stringENT_QUOTES);
    }

    
// REMOVE CHARACTERS THAT ARE INVALID XML AS PER http://www.w3.org/TR/REC-xml/#dt-character
    
$string preg_replace("/[^(\x9|\xA|\xD|\x20-\xD7FF|\xE000-\xFFFD|\x10000\-\x10FFFF)]*/"""$string);

    return 
$string;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_file_path')) {
  function 
lgsl_file_path()
  {
    
// GET THE LGSL_CLASS.PHP PATH

    
$lgsl_path __FILE__;

    
// TRANSLATE SYMBOLIC LINKS INTO ABSOLUTE FILE PATHS

    
$lgsl_path realpath($lgsl_path);

    
// SHORTEN TO JUST THE FOLDERS AND ADD TRAILING SLASH

    
$lgsl_path dirname($lgsl_path)."/";

    
// CONVERT WINDOWS BACKSLASHES TO FORWARDSLASHES

    
$lgsl_path str_replace("\\""/"$lgsl_path);

    return 
$lgsl_path;
  }}

//------------------------------------------------------------------------------------------------------------+

  
if (!function_exists('lgsl_url_path')) {
  function 
lgsl_url_path()
  {
    
// CHECK IF PATH HAS BEEN SET IN CONFIG

    
global $lgsl_config;

    if (
$lgsl_config['url_path'])
    {
      return 
$lgsl_config['url_path'];
    }

    
// USE FULL DOMAIN PATH TO AVOID ALIAS PROBLEMS

    
$host_path  = (!isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != "on") ? "http://" "https://";
    
$host_path .= $_SERVER['HTTP_HOST'];

    
// GET FULL PATHS ( EXTRA CODE FOR WINDOWS AND IIS - NO DOCUMENT_ROOT - BACKSLASHES - DOUBLESLASHES - ETC )

    
if ($_SERVER['DOCUMENT_ROOT'])
    {
      
$base_path realpath($_SERVER['DOCUMENT_ROOT']);
      
$base_path str_replace("\\""/"$base_path);
      
$base_path str_replace("//""/"$base_path);
    }
    else
    {
      
$file_path $_SERVER['SCRIPT_NAME'];
      
$file_path str_replace("\\""/"$file_path);
      
$file_path str_replace("//""/"$file_path);

      
$base_path $_SERVER['PATH_TRANSLATED'];
      
$base_path str_replace("\\""/"$base_path);
      
$base_path str_replace("//""/"$base_path);
      
$base_path substr($base_path0, -strlen($file_path));
    }

    
$lgsl_path dirname(realpath(__FILE__));
    
$lgsl_path str_replace("\\""/"$lgsl_path);

    
// REMOVE ANY TRAILING SLASHES

    
if (substr($base_path, -1) == "/") { $base_path substr($base_path0, -1); }
    if (
substr($lgsl_path, -1) == "/") { $lgsl_path substr($lgsl_path0, -1); }

    
// USE THE DIFFERENCE BETWEEN PATHS

    
if (substr($lgsl_path0strlen($base_path)) == $base_path)
    {
      
$url_path substr($lgsl_pathstrlen($base_path));

      return 
$host_path.$url_path."/";
    }

    return 
"/#LGSL_PATH_PROBLEM#{$base_path}#{$lgsl_path}#/";
  }}

//------------------------------------------------------------------------------------------------------------+

  
global $lgsl_file_path$lgsl_url_path;

  
$lgsl_file_path lgsl_file_path();

  if (
$_GET['lgsl_debug'])
  {
    echo 
"<hr /><pre>".print_r($_SERVERTRUE)."</pre>
          <hr />#0# "
.realpath($_SERVER['DOCUMENT_ROOT'])."
          <hr />#1# "
.__FILE__."
          <hr />#2# "
.realpath(__FILE__)."
          <hr />#3# "
.dirname(realpath(__FILE__))."
          <hr />#4# 
{$lgsl_file_path}";
  }

  require 
$lgsl_file_path."lgsl_config.php";
  require 
$lgsl_file_path."lgsl_protocol.php";

  
$lgsl_url_path lgsl_url_path();

  if (
$_GET['lgsl_debug'])
  {
    echo 
"<hr />#5# {$lgsl_url_path}
          <hr />#6# 
{$lgsl_config['url_path']}
          <hr />#7# 
{$lgsl_config['cache_time']}
          <hr />#8# 
{$lgsl_config['feed']['method']}
          <hr />#9# 
{$lgsl_config['feed']['url']}
          <hr />"
;
  }

  if (!isset(
$lgsl_config['zone']['line_size']))
  {
    echo 
"LGSL PROBLEM: lgsl_config.php IS OLD, CORRUPT, OR JUST FAILED TO LOAD"; exit;
  }

//------------------------------------------------------------------------------------------------------------+

?>

edit:
dazu noch die config.php
 Php
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
  <?php
defined 
('main') or die ( 'no direct access' );
//------------------------------------------------------------------------------------------------------------+
//[ PREPARE CONFIG - DO NOT CHANGE OR MOVE THIS ]

  
global $lgsl_config$lgsl_config = array();
//------------------------------------------------------------------------------------------------------------+
//[ DATABASE SETTINGS - USED BY THE STAND-ALONE VERSION AND SOME CMS ]

//  $lgsl_config['db']['server'] = "localhost";
//  $lgsl_config['db']['user']   = "USER";
//  $lgsl_config['db']['pass']   = "PW";
//  $lgsl_config['db']['db']     = "DB";
  
$lgsl_config['db']['table']  = "ic1_server";

//------------------------------------------------------------------------------------------------------------+
//[ ZONE SIZING ]
  
$lgsl_config['zone']['width']  = "220"// images will be fuzzy or cropped until resized to match
  
$lgsl_config['zone']['height'] = "110"// height of the zone box containing the player names
  
$lgsl_config['zone']['widthbox']  = "170"// images will be fuzzy or cropped until resized to match
  
$lgsl_config['zone']['heightbox'] = "100"// height of the zone box containing the player names
  
$lgsl_config['zone']['line_size'] = "12";  // multiplied by number of players to set the zone box height

//------------------------------------------------------------------------------------------------------------+
//[ BACKGROUND COLORS - CHANGE TO MATCH YOUR THEME ]

  
$lgsl_config['background'][2] = "class='Csview'";
  
$lgsl_config['background'][1] = "class='Csonst'";

//------------------------------------------------------------------------------------------------------------+
//[ SHOW TOTAL SERVERS / PLAYERS / MAX PLAYERS AT BOTTOM OF THE LIST ]

  
$lgsl_config['list']['totals'] = 12;

//------------------------------------------------------------------------------------------------------------+
//[ TEXT OPTIONS - 'nmp' AND 'nnm' WILL ONLY UPDATE AFTER THE CACHE IS EMPTIED ]

  
$lgsl_config['text']['vsd'] = "Hier Klicken f&uuml;r Server Details";
  
$lgsl_config['text']['slk'] = "auf den Server verbinden";
  
$lgsl_config['text']['sts'] = "Status:";
  
$lgsl_config['text']['adr'] = "Addresse:";
  
$lgsl_config['text']['cpt'] = "Port:";
  
$lgsl_config['text']['qpt'] = "Query Port:";
  
$lgsl_config['text']['typ'] = "Type:";
  
$lgsl_config['text']['gme'] = "Spiel:";
  
$lgsl_config['text']['map'] = "Map:";
  
$lgsl_config['text']['plr'] = "Spieler:";
  
$lgsl_config['text']['npi'] = "Keine Spieler Infos (Server leer)";
  
$lgsl_config['text']['nei'] = "Keine Extra Infos";
  
$lgsl_config['text']['onl'] = "Online";
  
$lgsl_config['text']['onp'] = "Online mit Passwort";
  
$lgsl_config['text']['nrs'] = "Nicht Erreichbar";
  
$lgsl_config['text']['pen'] = "Warte auf Abfrage";
  
$lgsl_config['text']['zpl'] = "Spieler:";
  
$lgsl_config['text']['mid'] = "Server ID unbekannt";
  
$lgsl_config['text']['nnm'] = "-";
  
$lgsl_config['text']['nmp'] = "-";
  
$lgsl_config['text']['tns'] = "Server:";
  
$lgsl_config['text']['tnp'] = "Spieler:";
  
$lgsl_config['text']['tmp'] = "Max Spieler:";
  
$lgsl_config['text']['asd'] = "PUBLIC ADDING OF SERVERS IS DISABLED";
  
$lgsl_config['text']['awm'] = "THIS AREA ALLOWS YOU TO TEST AND THEN ADD ONLINE GAME SERVERS TO THE LIST";
  
$lgsl_config['text']['ats'] = "Test Server";
  
$lgsl_config['text']['aaa'] = "SERVER ALREADY ADDED AND NEEDS ADMIN APPROVAL";
  
$lgsl_config['text']['aan'] = "SERVER ALREADY ADDED";
  
$lgsl_config['text']['anr'] = "NO RESPONSE - MAKE SURE YOU ENTERED THE CORRECT DETAILS";
  
$lgsl_config['text']['ada'] = "SERVER HAS BEEN ADDED FOR ADMIN APPROVAL";
  
$lgsl_config['text']['adn'] = "SERVER HAS BEEN ADDED";
  
$lgsl_config['text']['asc'] = "SUCCESS - PLEASE CONFIRM ITS THE CORRECT SERVER";
  
$lgsl_config['text']['aas'] = "Server Hinzuf&uuml;gen";

//------------------------------------------------------------------------------------------------------------+
//[ ZONE SHOWS PLAYER NAMES - OPTIONS: 0=NO 1=YES ]

  
$lgsl_config['players'][1] = 1;
  
$lgsl_config['players'][2] = 1;
  
$lgsl_config['players'][3] = 1;
  
$lgsl_config['players'][4] = 1;
  
$lgsl_config['players'][5] = 1;
  
$lgsl_config['players'][6] = 1;
  
$lgsl_config['players'][7] = 1;
  
$lgsl_config['players'][8] = 1;

//------------------------------------------------------------------------------------------------------------+
//[ ZONE RANDOMISATION - SEE README ON HOW TO USE ]

  
$lgsl_config['random'][1] = 0;
  
$lgsl_config['random'][2] = 0;
  
$lgsl_config['random'][3] = 0;
  
$lgsl_config['random'][4] = 0;
  
$lgsl_config['random'][5] = 0;
  
$lgsl_config['random'][6] = 0;
  
$lgsl_config['random'][7] = 0;
  
$lgsl_config['random'][8] = 0;

//------------------------------------------------------------------------------------------------------------+
//[ ZONE GRID WIDTH - INCREASE TO MAKE ZONES GO SIDE BY SIDE ]

  
$lgsl_config['grid'][1] = 1;
  
$lgsl_config['grid'][2] = 1;
  
$lgsl_config['grid'][3] = 1;
  
$lgsl_config['grid'][4] = 1;
  
$lgsl_config['grid'][5] = 1;
  
$lgsl_config['grid'][6] = 1;
  
$lgsl_config['grid'][7] = 1;
  
$lgsl_config['grid'][8] = 1;

//------------------------------------------------------------------------------------------------------------+
// [ HIDE OFFLINE SERVERS ON LIST AND ZONES - OPTIONS: 0=SHOW 1=HIDE ]

  
$lgsl_config['hide_offline'][0] = 1;
  
$lgsl_config['hide_offline'][1] = 1;
  
$lgsl_config['hide_offline'][2] = 1;
  
$lgsl_config['hide_offline'][3] = 1;
  
$lgsl_config['hide_offline'][4] = 1;
  
$lgsl_config['hide_offline'][5] = 1;
  
$lgsl_config['hide_offline'][6] = 1;
  
$lgsl_config['hide_offline'][7] = 1;
  
$lgsl_config['hide_offline'][8] = 1;

//------------------------------------------------------------------------------------------------------------+
//[ SORTING OPTIONS ]

  
$lgsl_config['sort']['servers'] = "id";   // other options are "players", "zone"
  
$lgsl_config['sort']['players'] = "name"// other options are "score"

//------------------------------------------------------------------------------------------------------------+
//[ FEED METHOD - OPTIONS: 0=DISABLED 1=CURL OR FSOCKOPEN 2=FSOCKOPEN ONLY ]

  
$lgsl_config['feed']['method'] = 2;
  
$lgsl_config['feed']['url']    = "http://www.greycube.co.uk/lgsl/feed/lgsl_files/lgsl_feed.php";

//------------------------------------------------------------------------------------------------------------+
//[ ADVANCED SETTINGS - DO NOT TOUCH THESE UNLESS YOU KNOW WHAT YOUR DOING ]

  
$lgsl_config['management']    = 1;           // 1=show advanced management in the admin by default
  
$lgsl_config['public_add']    = 0;           // 1=servers require approval OR 2=servers shown instantly
  
$lgsl_config['public_feed']   = 0;           // 1=feed requests can add servers to your list
  
$lgsl_config['direct_index']  = 0;           // 1=link to index.php instead of the folder
  
$lgsl_config['retry_offline'] = 0;           // 1=repeat query if a server does not respond the first time
  
$lgsl_config['timeout']       = 0;           // 1=increase the time a server is given to respond
  
$lgsl_config['live_time']     = 4;           // maximum loading delay from getting server updates
  
$lgsl_config['cache_time']    = 2;          // seconds before the cached information is considered old
  
$lgsl_config['url_path']      = "http://www.domain.de/include/extras/lgsl/lgsl_files/";          // full url to /lgsl_files/ for when auto detection fails
  
$lgsl_config['cms']           = "ilch";        // sets which CMS specific code to use

//------------------------------------------------------------------------------------------------------------+

?>


kann man das iwie abschalten oder so einstellen dass das nicht nervt??

mfg scar


Zuletzt modifiziert von sCar am 22.08.2010 - 01:45:41
Mairu
Administrator

User Pic

Posts: 1908
# 04.09.2010 - 09:56:50
    zitieren



Du könntest versuchen in der angegebenen Zeile statt mysql_connect mysql_pconnect zu verwenden.
sCar
Mitglied

User Pic

Posts: 53
# 05.09.2010 - 23:43:43
    zitieren



chillig Zwinker

dankesehr
eisvogel10
Grünschnabel

User Pic

Posts: 3
# 12.01.2011 - 10:40:23
    zitieren



Hi Mairu setze das Forum mal für Gäste auf nur lesen, sonst werden solche Spacken "Bucialis41ymt" rumspamen Zwinker
Mairu
Administrator

User Pic

Posts: 1908
# 12.01.2011 - 19:39:19
    zitieren



So oft passiert sowas nicht und dann kann ich die Beiträge auch löschen, ich will keiner dieser "du musst dich registrieren"-Leute sein, solange es auch anders geht, und wenn alle 2 Wochen mal ein Beitrag kommt, kann ich damit leben.