php - iOS server side coding for supporting IPV6 -


i got rejected message apple because of ipv6 supporting issue.

it seems server has problem supporting ipv6. can me it, please?

the following code works fine android.

<?php    include('../config.php');    include('../opendb.php');     require_once '../functions/security.php';     $mysqli->query("set names utf8");     $username = $_post['username'];    $pw_old = encrypt($_post['oldpw']);    $pw_new = encrypt($_post['newpw']);     $response = array();     if ($username == '' || $pw_old == '' || $pw_new == '') {       $response['fields'] = 0;    } else {       $response['fields'] = 1;       $qry = "select password member username='$username'";       $result = $mysqli->query($qry);       $row = $result->fetch_assoc();       if (strcmp(substr($pw_old, 0, -8), $row['password']) == 0) {          $response['exist'] = 1;          $qry = "update member set password='$pw_new' username='$username'";          if ($mysqli->query($qry)) {             $response['success'] = 1;          } else {             $response['success'] = 0;          }       } else {          $response['exist'] = 0;       }    }     echo json_encode($response);    include('../closedb.php') ?> 


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -