今天小編給大家介紹一篇文章,叫做ecshop購物過程的注冊加手機注冊項,有的時候我們使用ecshop建站,需要在注冊時候加入手機注冊項,以下A5源碼提供修改方法:
1、打開flow.dwt 默認模板七百多行找到注冊的顯示的地方 加入
<tr>
<td bgcolor="#ffffff" align="right">手機:</td>
<td bgcolor="#ffffff"><input name="mobile_phone" type="text" class="inputBg" id="mobile_phone" /></td>
</tr>
2、打開flow.php 301行 修改為
$other['mobile_phone'] = $_POST['mobile_phone'];
if (register(trim($_POST['username']), trim($_POST['password']), trim($_POST['email'],$other)))
希望本文所述對大家的ecshop程序設計有所幫助。
新聞熱點
疑難解答