<?php
/**
 * 获取直拨电话链接

date_default_timezone_set('PRC');
$conn = mysqli_connect('127.0.0.1', 'root', 'XH@group_sdwt.ppyy.753951', 'getphoneurl');
mysqli_query($conn,'set names utf8');

$link = $_SERVER['HTTP_REFERER'].'#position='.$_GET['position'];
$sql = "insert into getphoneurl (`link`) values ('$link')";
$result = mysqli_query($conn, $sql);

$phone = '0531-88260177';

if (isset($_GET['phone'])) {
	$phone = $_GET['phone'];
}
 */
 
$phone = "0531-88260177";

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="refresh" content="0;url=tel:<?php echo $phone; ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <meta name="applicable-device" content="mobile">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="MobileOptimized" content="320" />
    <title>正在为您转接专业老师</title>
</head>

<body>
正在为您转接专业老师……
</body>
</html>
