BVB Source Codes

HP fetion automatic daily weather forecast v1.0 Show readme.txt Source code

Return Download HP fetion automatic daily weather forecast v1.0: download readme.txt Source code - Download HP fetion automatic daily weather forecast v1.0 Source code - Type:.txt
  1. php每日自动天气预报
  2.  
  3. 主要用途
  4. 1.获取城市天气预报
  5. 2.在线给好友或自己发送飞信
  6. 3.调用飞信api接口
  7. 4.定时发送天气预报[可群发]
  8. 版本更新:http://xiaogg.ctdisk.com/u/349707/437278
  9. 官方主页:http://3.ibtf.sinaapp.com/
  10.  
  11. 新浪SAE免费php空间申请地址:http://sae.sina.com.cn/activity/invite/101149/weibo
  12. 新浪SAE免费php空间注册功略:http://hbwanghai.blog.163.com/blog/static/199297147201222310226519/
  13.  
  14. 优点
  15. 1.不用购买独立空间/服务器,不用购买独立域名 直接申请sina_SAE空间即可
  16. 2.所有代码开源.下载,修改配置后,上传直接可用.方便进行再开发
  17. 3.如不想用sina_SAE也可以下载通用版[必须有服务器支持]
  18. 4.集成飞信api接口,可实现在线调用.便于开发其它应用
  19. 5.集成在线发飞信.可直接在线给好友发短信,不用登录软件.
  20.  
  21.  
  22. 更新
  23. 1.如遇到用f.php发送短信,收到乱码情况,请修改f.php文件
  24. 修改方法:
  25. 长到13行
  26. if($u==""){
  27. 修改为
  28. if($u=="1"){
  29.  
  30.  
  31. 包含主要文件有
  32. index.php    获取城市天气预报
  33. f.php        飞信api接口及在线发飞信
  34. weather.php  每日执行文件
  35. data.txt     城市数据
  36. config.yaml  sina_SAE配置文件
  37. lib/PHPFetion.php       php飞信类
  38. lib/function.php        函数库
  39. lib/config.php          配置文件
  40.  
  41. 主要文件说是
  42.  
  43. index.php
  44. [主要目的配合定时发送天所预报,测试是否能够获取当时天气预报]
  45.  
  46. 说明
  47. 1.在查询后面的文本框中输入您要查询的城市名称[不要带市/县等][不支持省]
  48. 2.点击查询将可以获取今日天气.[今日缓存数据]
  49. 3.获取最新点击下面 [获取最新天气预报]
  50. 4.可以通过下面的飞信接口发送到手机上
  51.  
  52. f.php
  53. 可直接添写相应选项后点发送也可利用API发送
  54. API调用:f.php?phone=xxxxxx&pwd=xxx&to=xxxx&msg=xxxx
  55. 以上接口参数详细说明
  56. phone   手机号
  57. pwd     飞信密码
  58. to      发送给谁(手机号或飞信号)
  59. msg     飞信内容
  60. u       备用参数:当发送内容为乱码时 在最后加上&u=1
  61.  
  62.  
  63. weather.php / config.php--------------------------------------------- [每日天气配置]
  64. 需要自行配置
  65. 配置方法
  66. 1.用Dreamweaver或其它编辑软件打开weather.php文件
  67. 2.找到第12行
  68. $phone="150********|唐山;134********|唐山;151********|石家庄;150********|石家庄";
  69. 按照以上规则进行配置.双引号中规则为:手机号|城市名;手机号|城市名 标题不能错全为英文状态下标点
  70. 3.打开inc/config.php
  71. 修改第8行和第9行
  72. define("PHONE_NUMBER","150********");将双引号中的手机号改成你的手机号
  73. define("PHONE_PWD","******");将双引号中的*改成您的飞信密码
  74. 4.修改什么时候发天气预报
  75. 修改config.yaml文件
  76. 配置详解:http://sae.sina.com.cn/?m=devcenter&catId=195
downloadreadme.txt Source code - Download HP fetion automatic daily weather forecast v1.0 Source code
Related Source Codes/Software:
Project management software KisProject v1.0.3 - Kis (Keep it simple) is a free WEB-based team coll... 2016-10-23
MyProber PHP 0.26 a probe - MyProber v0.26 2016-10-23
Food science and technology chain edition v1.1 online reservation system - Treat chain version of the main functions of the o... 2016-10-23
Emlog for SAE v4.2.1 - Emlog for SAE is suitable for SAE emlog used modif... 2016-10-23
Easy website system v2.0 - Business easy built station system (Sunnyi Website... 2016-10-23
Valley dad imitate homepage search - Modified more concise and convenient, but there is... 2016-10-23
hpMyAdmin v3.4.11 For Linux - HpMyAdmin is a PHP based, architecture in Web - Ba... 2016-10-23
V1.4 jmapcms website development system - 1. Modify the CHKJS file loading animation has alw... 2016-10-23
More than the V6.2 taobao guest program - Amoy Taobao V6.2 for short procedures, adopted a P... 2016-10-23
According to the IP to identify local weather forecast - According to the visitor IP to the database to ext... 2016-10-23
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top