szmekk
Active Member
- May 27, 2016
- 67
- 7
- 83
@EscuderoKevin
Are it's possible for add some "feature" so it's just only possible to create 1 ts3server per "visitor IP" ?
It is possible? @EscuderoKevin
@EscuderoKevin
Are it's possible for add some "feature" so it's just only possible to create 1 ts3server per "visitor IP" ?
It is possible? @EscuderoKevin
It' goodPHP:<input name="slots" readonly type="text" value="100"/>
To
PHP:<select name="slots"> <option value="5">5</option> <option value="5">5</option> <option value="5">5</option> </select>
<?php
//
// Description : Anti Flood
// Version : 0.1
// Coder : HasanAtilan
// Url : http://tsbakkali.net
//
if (!isset($_SESSION)) {
session_start();
}
// anti flood protection
if($_SESSION['last_session_request'] > time() - 2){
// users will be redirected to this page if it makes requests faster than 2 seconds
header("location: http://tsbakkali.net/");
exit;
}
$_SESSION['last_session_request'] = time();
?>
This is not your own script... Why did you replace author and homepage?Anti Flood Script
Code:<?php // // Description : Anti Flood // Version : 0.1 // Coder : HasanAtilan // Url : http://tsbakkali.net // if (!isset($_SESSION)) { session_start(); } // anti flood protection if($_SESSION['last_session_request'] > time() - 2){ // users will be redirected to this page if it makes requests faster than 2 seconds header("location: http://tsbakkali.net/"); exit; } $_SESSION['last_session_request'] = time(); ?>
This is not your own script... Why did you replace author and homepage?
Please try harderWTF I'M Coder Hahaha You Troll You Fake
PHP Fatal error: Uncaught TeamSpeak3_Transport_Exception: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/libraries/TeamSpeak3/Transport/TCP.php:54\nStack trace:\n#0 /var/www/html/libraries/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect()\n#1 /var/www/html/libraries/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine()\n#2 /var/www/html/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn()\n#3 /var/www/html/libraries/TeamSpeak3/TeamSpeak3.php(320): TeamSpeak3_Adapter_Abstract->__construct(Array)\n#4 /var/www/html/index.php(8): TeamSpeak3::factory(Object(TeamSpeak3_Helper_Uri))\n#5 {main}\n thrown in /var/www/html/libraries/TeamSpeak3/Transport/TCP.php on line 54
would you like to provide some more information about your issue?php_network_getaddresses: getaddrinfo failed:
would you like to provide some more information about your issue?
do you use an srv record on your server and you added it the config file?
do you use an srv record on your server and you added it the config file?
If yes you should change that with the ip address so it will be able to read the server
then i don't know
$new_ts3 = $ts3->serverCreate(array(
"virtualserver_name" => $servername,
"virtualserver_maxclients" => $slot,
"virtualserver_port" => $port,
"virtualserver_name_phonetic" => $realTime,
"virtualserver_hostbutton_tooltip" => "edit",
"virtualserver_hostbutton_url" => "edit",
"virtualserver_hostbutton_gfx_url" => "edit",
"virtualserver_hostbanner_url" => "edit",
"virtualserver_hostbanner_gfx_url" => "edit",
"virtualserver_modify_hostmessage" => "0",
"virtualserver_modify_hostbanner" => "0",
"virtualserver_modify_hostbutton" => "0",
"virtualserver_modify_port" => "0",
"virtualserver_modify_autostart" => "0",
"virtualserver_modify_log_settings" => "0",
"virtualserver_modify_autostart" => "0",
"virtualserver_modify_ft_settings" => "0",
"virtualserver_modify_ft_quotas" => "0",
"virtualserver_modify_maxclients" => "0",
"virtualserver_modify_slots" => "0",
"virtualserver_modify_autostart" => "0",
"virtualserver_modify_log_settings" => "0",