Delphi DirectX headers adaptation followed by Borland and JEDI standarts for all (up to 9.0 from April 2007 DirectX SDK update) versions of DirectDraw, Direct3D, DirectInput, DirectSound, DirectMusic, DirectShow, DirectXSetup, X3DAudio, XACT, XInput
Retrieve Web page or file (including all HTTP headers and message body) througn HTTP protocol directly from VB program which utilize the MS WinSock Control.
在客户端请求的时候增加了自定义的http头,请求如下所示:
自定义http请求头
var_dump(getallheaders);
一开始通过getallheaders参数获取,但是发现在nginx部署的服务器上获取不到,非常奇怪,查看php手册发现getallheaders这个函数只支持apache服务器。于是找到兼容的方法:
if (!function_exists('getallheaders')) {
function getallheaders() {
$headers = a