一个简单的PHP购物车系统
资源内容介绍
一个简单的PHP购物车系统,有需要的可以下载 <html xmlns="http://www.w3.org/1999/xhtml"><meta charset="utf-8"><meta name="generator" content="pdf2htmlEX"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><link rel="stylesheet" href="/image.php?url=https://csdnimg.cn/release/download_crawler_static/css/base.min.css"><link rel="stylesheet" href="/image.php?url=https://csdnimg.cn/release/download_crawler_static/css/fancy.min.css"><link rel="stylesheet" href="/image.php?url=https://csdnimg.cn/release/download_crawler_static/9074587/raw.css"><script src="/image.php?url=https://csdnimg.cn/release/download_crawler_static/js/compatibility.min.js"></script><script src="/image.php?url=https://csdnimg.cn/release/download_crawler_static/js/pdf2htmlEX.min.js"></script><script>try{pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});}catch(e){}</script><div id="sidebar" style="display: none"><div id="outline"></div></div><div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="/image.php?url=https://csdnimg.cn/release/download_crawler_static/9074587/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">名称<span class="_ _0"> </span>模块<span class="_ _1"> </span>描述</div><div class="t m0 x2 h4 y3 ff2 fs0 fc0 sc0 ls0 ws0">index.php</div><div class="t m0 x3 h3 y4 ff1 fs0 fc0 sc0 ls0 ws0">目录<span class="_ _2"> </span>网站首页,显示系统中的图书目录</div><div class="t m0 x4 h4 y5 ff2 fs0 fc0 sc0 ls0 ws0">show_cat.php</div><div class="t m0 x3 h3 y6 ff1 fs0 fc0 sc0 ls0 ws0">目录<span class="_ _3"> </span>显示特定目录包含的所有图书</div><div class="t m0 x5 h4 y7 ff2 fs0 fc0 sc0 ls0 ws0">show_book.php</div><div class="t m0 x3 h3 y8 ff1 fs0 fc0 sc0 ls0 ws0">目录<span class="_ _4"> </span>显示特定图书的详细信息</div><div class="t m0 x6 h4 y9 ff2 fs0 fc0 sc0 ls0 ws0">show_cart.php</div><div class="t m0 x7 h3 ya ff1 fs0 fc0 sc0 ls0 ws0">购物车<span class="_ _5"> </span>显示用户购物车的内容。也用来向购物车添加图</div><div class="t m0 x8 h3 yb ff1 fs0 fc0 sc0 ls0 ws0">书</div><div class="t m0 x9 h4 yc ff2 fs0 fc0 sc0 ls0 ws0">checkout.php</div><div class="t m0 x7 h3 yd ff1 fs0 fc0 sc0 ls0 ws0">购物车<span class="_ _5"> </span>向用户显示所有的订单细节。获取商品运送细节</div><div class="t m0 x9 h4 ye ff2 fs0 fc0 sc0 ls0 ws0">purchase.php</div><div class="t m0 x7 h3 yf ff1 fs0 fc0 sc0 ls0 ws0">购物车<span class="_ _6"> </span>从用户获取付款细节</div><div class="t m0 xa h4 y10 ff2 fs0 fc0 sc0 ls0 ws0">process.php</div><div class="t m0 x7 h3 y11 ff1 fs0 fc0 sc0 ls0 ws0">购物车<span class="_ _7"> </span>处理付款细节,将订单添加到数据库</div><div class="t m0 xb h4 y12 ff2 fs0 fc0 sc0 ls0 ws0">login.php</div><div class="t m0 x3 h3 y13 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _4"> </span>允许管理员登录进行修改</div><div class="t m0 xc h4 y14 ff2 fs0 fc0 sc0 ls0 ws0">logout.php</div><div class="t m0 x3 h3 y15 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _8"> </span>管理员退出</div><div class="t m0 xc h4 y16 ff2 fs0 fc0 sc0 ls0 ws0">admin.php</div><div class="t m0 x3 h3 y17 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _8"> </span>主管理菜单</div><div class="t m0 xd h4 y18 ff2 fs0 fc0 sc0 ls0 ws0">change_password_form.php</div><div class="t m0 x3 h3 y19 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _0"> </span>允许管理员修改密码的表格</div><div class="t m0 xe h4 y1a ff2 fs0 fc0 sc0 ls0 ws0">change_password.php</div><div class="t m0 x3 h3 y1b ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _9"> </span>修改管理员密码</div><div class="t m0 xf h4 y1c ff2 fs0 fc0 sc0 ls0 ws0">insert_category_form.php</div><div class="t m0 x3 h3 y1d ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _a"> </span>允许管理员向数据库中添加一个目录的表格</div><div class="t m0 x10 h4 y1e ff2 fs0 fc0 sc0 ls0 ws0">insert_category<span class="_ _b"></span>.php</div><div class="t m0 x3 h3 y1f ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _6"> </span>向数据库中插入新目录</div><div class="t m0 xe h4 y20 ff2 fs0 fc0 sc0 ls0 ws0">insert_book_form.php</div><div class="t m0 x3 h3 y21 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _3"> </span>管理员添加新书到系统的表单</div><div class="t m0 x5 h4 y22 ff2 fs0 fc0 sc0 ls0 ws0">insert_book.php</div><div class="t m0 x3 h3 y23 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _c"> </span>将新书插入到数据库</div><div class="t m0 x11 h4 y24 ff2 fs0 fc0 sc0 ls0 ws0">edit_category_form.php</div><div class="t m0 x3 h3 y25 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _6"> </span>管理员编辑目录的表单</div><div class="t m0 x12 h4 y26 ff2 fs0 fc0 sc0 ls0 ws0">edit_category<span class="_ _b"></span>.php</div><div class="t m0 x3 h3 y27 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _c"> </span>更新数据库中的目录</div><div class="t m0 x13 h4 y28 ff2 fs0 fc0 sc0 ls0 ws0">edit_book_form.php</div><div class="t m0 x3 h3 y29 ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _0"> </span>管理员编辑图书信息的表单</div><div class="t m0 x6 h4 y2a ff2 fs0 fc0 sc0 ls0 ws0">edit_book.php</div><div class="t m0 x3 h3 y2b ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _4"> </span>更新数据库中的图书信息</div><div class="t m0 x14 h4 y2c ff2 fs0 fc0 sc0 ls0 ws0">delete_category<span class="_ _b"></span>.php</div><div class="t m0 x3 h3 y2d ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _4"> </span>从数据库中删除一个目录</div><div class="t m0 x15 h4 y2e ff2 fs0 fc0 sc0 ls0 ws0">delete_book.php</div><div class="t m0 x3 h3 y2f ff1 fs0 fc0 sc0 ls0 ws0">管理<span class="_ _4"> </span>从数据库中删除一本图书</div><div class="t m0 x16 h4 y30 ff2 fs0 fc0 sc0 ls0 ws0">book_sc_fns.php</div><div class="t m0 x3 h3 y31 ff1 fs0 fc0 sc0 ls0 ws0">函数<span class="_ _0"> </span>该应用程序的包含文件集合</div><div class="t m0 x6 h4 y32 ff2 fs0 fc0 sc0 ls0 ws0">admin_fns.php</div><div class="t m0 x3 h3 y33 ff1 fs0 fc0 sc0 ls0 ws0">函数<span class="_ _4"> </span>管理脚本使用的函数集合</div><div class="t m0 x4 h4 y34 ff2 fs0 fc0 sc0 ls0 ws0">book_fns.php</div><div class="t m0 x3 h3 y35 ff1 fs0 fc0 sc0 ls0 ws0">函数<span class="_ _d"> </span>用以保存和获取图书数据的函数集合</div><div class="t m0 x4 h4 y36 ff2 fs0 fc0 sc0 ls0 ws0">order_fns.php</div><div class="t m0 x3 h3 y37 ff1 fs0 fc0 sc0 ls0 ws0">函数<span class="_ _d"> </span>用以保存和获取订单数据的函数集合</div><div class="t m0 x17 h4 y38 ff2 fs0 fc0 sc0 ls0 ws0">output_fns.php</div><div class="t m0 x3 h3 y39 ff1 fs0 fc0 sc0 ls0 ws0">函数<span class="_ _e"> </span>输出<span class="_ _f"> </span><span class="ff2">HTML<span class="_ _f"> </span></span>的函数集合</div><div class="t m0 x18 h4 y3a ff2 fs0 fc0 sc0 ls0 ws0">data_valid_fns.php</div><div class="t m0 x3 h3 y3b ff1 fs0 fc0 sc0 ls0 ws0">函数<span class="_ _3"> </span>验证用户输入数据的函数集合</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div></html>