teamspeak3 create script help

Discussion in 'Other' started by ramazanqqq, Oct 16, 2016.

  1. ramazanqqq

    ramazanqqq Member

    SpeciaL likes this.
  2. SpeciaL

    SpeciaL Contributing Member

    You can do if he's clicking Like France Connect with France VPS
    like that..
    if you have more VPS :)
     
  3. trackxart

    trackxart Member

    How can you do this? I already tried with ts3 module :c
     
  4. ramazanqqq

    ramazanqqq Member

    the download link for the scripts don't have ?
     
  5. Ridicc

    Ridicc Super Mod

    You 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
    }
     
    SpeciaL and ramazanqqq like this.
  6. ramazanqqq

    ramazanqqq Member

    vvvvvvvvvvvvvvvvvvvvv
    thx <3
     
  7. bronxaron

    bronxaron Restricted

    if(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
    }}
     
    Last edited: Oct 19, 2016
    SpeciaL likes this.
  8. ramazanqqq

    ramazanqqq Member

    thanks xaron :))
     

Share This Page