zoukankan      html  css  js  c++  java
  • php网站目录结构

    方案1:
    root_dir
            –config
            –include
                                              news.php(基础处理类)
                                              member.php
                                              admin.php
            –lib(文件夹内放置smarty的相关文件)
            –templates
                    –news
                    –member
                    –admin
            –templates_c
                    –news
                    –member
                    –admin               
            –cache
                    –news
                    –member
                    –admin
            –images
                    –news
                    –member
                    –admin
            –js
            –css
                    news.css
                    member.css
                    admin.css
            –news(新闻模块的php处理,例news_list.php,news_detail.php,news_insert.php诸如此类)
            –member(用户模块的php处理)
            –admin(管理模块的php处理)
            index.php

    ——————————————————-分割线————– ———————————————————–
    方案2:
    root_dir
            –config
            –include
                                              news.php(基础处理类)
                                              member.php
                                              admin.php
            –lib(文件夹内放置smarty的相关文件)
            –news(新闻模块)
                    –templates
                    –templates_c
                    –cache
                    –images
                    –js
                    –css
            –member(用户模块)
                    –templates
                    –templates_c
                    –cache
                    –images
                    –js
                    –css
            –admin(管理模块)
                    –templates
                    –templates_c
                    –cache
                    –images
                    –js
                    –css
            index.php

  • 相关阅读:
    C# 开发(创蓝253)手机短信验证码接口
    33条C#、.Net经典面试题目及答案
    请用一句sql语句取出各科的平均成绩,显示字段,科目,平均成绩
    写出一条Sql语句:取出表A中第31到第40记录(SQLServer,以自动增长的ID作为主键,注意:ID可能不是连续的。
    SQL的四种连接-左外连接、右外连接、内连接、全连接
    C# 获取mp3文件的歌曲时间长度
    欧拉公式
    linux环境java入门
    C内存分配
    机器学习网址归纳
  • 原文地址:https://www.cnblogs.com/luluping/p/1560770.html
Copyright © 2011-2022 走看看