php - url

作者: xueyueshuai | 来源:发表于2020-02-28 20:46 被阅读0次
// http://127.0.0.1:9011/index.php/h5/liveshare/share?a=b&c=d#aaa

// http         $_SERVER['REQUEST_SCHEME']
// 127.0.0.1:9011  $_SERVER['HTTP_HOST']
// 127.0.0.1         $_SERVER['SERVER_ADDR']
// 9011         $_SERVER['REMOTE_PORT']

// $_SERVER['REQUEST_URI']  /index.php/h5/liveshare/share?a=b&c=d        
// $_SERVER['REQUEST_METHOD']  GET  
// $_SERVER['QUERY_STRING']  a=b&c=d

// $_SERVER['DOCUMENT_URI'] /index.php/h5/liveshare/share

// /index.php         $_SERVER['SCRIPT_NAME']

相关文章

网友评论

      本文标题:php - url

      本文链接:https://www.haomeiwen.com/subject/oiprhhtx.html