ramazanqqq
Member
- Sep 14, 2015
- 39
- 9
- 43
Hello, can I find a script like this you have to choose your location and e mail
http://prntscr.com/cuvlhv
http://prntscr.com/cuvlhv
You can do if he's clicking Like France Connect with France VPS
like that..
if you have more VPS![]()
You simply have to change the target ip of the query connection in your server creation script. Just check it like this:How can you do this? I already tried with ts3 module :c
if ($_POST['datacenter'] == "europe") {
$ip = xxx.xxx.xxx.xxx;
} else if ($_POST['datacenter'] == "america") {
$ip = xxx.xxx.xxx.xxx;
}
thx <3You simply have to change the target ip of the query connection in your server creation script. Just check it like this:
PHP:if ($_POST['datacenter'] == "europe") { $ip = xxx.xxx.xxx.xxx; } else if ($_POST['datacenter'] == "america") { $ip = xxx.xxx.xxx.xxx; }
thanks xaronif(isset($_POST['dc'])){
if($_POST['dc'] == 1){
//create europe
}} else{
if($_POST['dc'] == 2){
//create america
}else{
echo 'Please select teamspeak3 server region!';
}}
$email = $_POST['email'];
if(isset($_POST['email'])){
if(!filter_var($email, FILTER_VALIDATE_EMAIL)){
echo 'Invalid email adress!';
}else{
if(empty($_POST['email'])){
echo 'Please enter email adress!';
}}else{
//php mail script
}}