"video", "timestamp" => date('Y-m-d H:i:s', time()), "ip" => ip2long(getIp()), "_from" => get_from(), "content" => $url)); function returnVideo($url){ if(true || $isProxy == "true"){ header("Location: https://proxy.yimian.xyz/get/?url=".base64_encode($url).""); return; } $url = getVideo($url); header("Location: $url"); }