单独用PHP解决好像没有找到很好的办法。如果是SERVER的PHP肯定是无解了吧,如果是CLI的话可以转换一下思路,用PHP运行Linux命令获取输出结果来获得SSID。关于Linux如何获取SSID列表可以关键词linux terminal ssid搜索一下,这里列出第一个结果仅供参考:http://ubuntuforums.org/showthread.php?t=2103934
https://wiki.archlinux.org/index.php/Wireless_network_configuration
iw dev wlan0 scan
这事跟php有毛关系