移动widget开发

时间:2023-03-10 06:57:07
移动widget开发

发现Oracle----php连接有很多bug无法解决,只好转向php--连接mysql数据库,并装载了mysql两个文件,跟客户端NAVICAT_FOR_MYSQL,然后直接建表,用于测试,能够连通;

Widget的手机客户端跟后台服务器之间如何连通?

1,测试连接php是否能与数据库进行连接,是否能够实现将数据插入数据库等操作;

2,将php所在根目录的地址复制到当前的客户端的Action:中如下表所示:

路径设置,方法是post;

<form action="http://172.16.82.145:8080/index.php"  method="post">

<table id="register_table">

<tr><th>用户名:</th><td><input type="text" name="name" /></td></tr>

<tr><th>密码:</th><td><input typ="password" name="password" /></td></tr>

<tr><th></th><td>

<input type="submit" id="buttonRegister" value="注册" />

<input type="button" id="buttonOut" value="退出" /></td></tr>

</table>

</form>

这样注册功能既可以实现;

3,测试连接即可。