In PHP, the MIME type is set through the header function. The $_SERVER array contains the server variables, allowing us to interrogate the Accept HTTP header.

 
  • 在PHP语言中,MIME类型通过hader函数实现。%24_SERVER序列变量包含了服务器端变量,允许程序员重定义Accept HTTP头信息。
今日热词
目录 附录 查词历史