新浪sae环境,php连接远程sql2008服务器有关问题

WBOY
Release: 2016-06-13 11:48:53
Original
768 people have browsed it

新浪sae环境,php连接远程sql2008服务器问题
用的是新浪的sae,语言php 想连接公司的sql2008服务器,可以实现吗?如果能,怎么实现?多谢
------解决方案--------------------
先确认空间支持 sqlsrv 扩展
再确认单位的 sql2008 开放了远程访问支持

操作很简单,手册中都有示例代码

开放远程访问,安全是个问题
------解决方案--------------------
你可以在单位的服务器上做一个接口
处理查询请求,返回结果数据

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!