PHP中$_SERVER的详细参数与说明

  作者:会飞的

(PECL pecl_http >= 0.1.0)http_negotiate_charset — Negotiate clients preferred character set 说明 string http_negotiate_charset ( array $supported [, array &$result ] ) This function negotiates the clients preferred char


  (PECL pecl_http >= 0.1.0)http_negotiate_charset — Negotiate clients preferred character set


 

 

  说明

  

   string http_negotiate_charset

    ( array $supported

   [, array &$result

  ] )


  

   This function negotiates the clients preferred charset based on its

   Accept-Charset HTTP header. The qualifier is recognized and charsets 

   without qualifier are rated highest.

  

 


 

  参数

  

   


    


     supported



     


      

       array containing the supported charsets as values

      

     


    

    


     result



     


      

       will be filled with an array containing the negotiation results

      

     


    

   



  

 


 

  返回值

  

   Returns the negotiated charset or the default charset (i.e. first array entry) if none match.

  

 



 



 



 

  范例

  

   

    

Example #1 Using http_negotiate_charset()

    





    


   


  

 




 



有用  |  无用

猜你喜欢