<?php$method = "GET";// 请求示例 url 默认请求参数已经做URL编码$url = "http://api01.bitspaceman.com:8000/share/weibo?apikey={您自己的apikey}&";$curl = curl_init(); curl_setopt($curl, CURLOPT_CU
2019-03-29评论次数0访问次数195
安装使用composer安装composer create-project topthink/think tp启动服务cd tpphp think run然后就可以在浏览器中访问http://localhost:8000更新框架composer update topthink/framework
2019-05-23评论次数0访问次数237
1 无参数情况配置URL及其视图如下:(r'^hello/$', hello) def hello(request): return HttpResponse("Hello World")访问http://127.0.0.1:8000/hello,输出结果为“Hello Wo
2017-01-16评论次数0访问次数385
本文实例讲述了php+html5基于websocket实现聊天室的方法。分享给大家供大家参考。具体如下:html5的websocket 实现了双向通信,折腾了几天弄了个聊天室,分享给大家<?php error_reporting(E_ALL); ob_implicit_flush(); $sk=new Sock('127.0.0.1',8000); $sk->
2017-01-22评论次数0访问次数575