php socket實現簡單的http服務器

<?php function onMessage($connection) { //拼裝返回的html內容 $content = '<html><title>hello,world</title><body>hello,world,http</body></html>'; //拼裝頭信息 $header = ''; $header .= "HTTP/1.1
相關文章
相關標籤/搜索