/**
* PHPnow中文应用框架 PHPnow framework 1.0
* @copyright (C) 2011-2012 PHPnow
* @license http://www.phpnow.cn
* @author jiaodu QQ:1286522207
*/
开发手册:http://www.phpnow.cn/help.html
PHPnow framework运行环境:PHP5.2.x或更高版本,引擎支持Rewrite
如果你在使用中有任何问题可以联系QQ:1286522207(验证:框架) 邮箱:jiaodu@phpnow.cn或到论坛讨论bbs.phpnow.cn
PHPnow framework开发框架永久开源和免费提供使用,请认准官方唯一指定域名:phpnow.cn
理想的情况下只是入口文件和公共样式图片等文件部署到web公共目录
PHPnow框架目录
|-PHPnow 框架核心
| ├configs 配制
| ├core 核心类
| ├drive 程序驱动
| ├function 函数
| ├langs 语言
| ├plugins 插件
推荐目录格式
|-application 项目目录
| ├configs 项目配制
| ├controllers 控制器目录
| ├models 模型目录
| ├plugins 项目插件
| ├views 视图目录
|-public web公共目录
|-PHPnow PHPnow框架
|-caching 缓存目录(读写权)
程序根目录建议 存放.htaccess
如:
1、禁止浏览目录
2、禁止运行php
3、重新定向至:public web公共目录
例: .htaccess
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
order deny,allow
ErrorDocument 403 /index
RewriteEngine on RewriteCond % !^$
RewriteRule (.*).(php)$ – [F]
RewriteRule ^(.*)$ public/$1 [L]
public web公共目录建议
如:
1、禁止浏览目录
2、禁止运行php
3、文件不存在时从index.php入口运行
例: .htaccess
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
order deny,allow
ErrorDocument 403 /index
RewriteEngine on RewriteCond % !^$
RewriteRule (.*).(php)$ – [F]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的nowframework中文应用框架源码.zip
共178个文件
php:161个
mp3:9个
htaccess:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 171 浏览量
2023-08-27
23:54:55
上传
评论
收藏 402KB ZIP 举报
温馨提示
基于PHP的nowframework中文应用框架源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的nowframework中文应用框架源码.zip (178个子文件)
favicon.gif 1KB
.htaccess 308B
.htaccess 224B
index.html 158B
favicon.ico 4KB
2.mp3 6KB
3.mp3 6KB
7.mp3 6KB
1.mp3 5KB
9.mp3 5KB
8.mp3 5KB
4.mp3 5KB
5.mp3 4KB
6.mp3 4KB
smarty_internal_templateparser.php 156KB
Smarty.class.php 44KB
smarty_internal_templatelexer.php 38KB
String.class.php 36KB
smarty_internal_templatebase.php 35KB
smarty_internal_utility.php 33KB
smarty_internal_configfileparser.php 33KB
smarty_internal_templatecompilerbase.php 30KB
smarty_resource.php 28KB
smarty_internal_template.php 27KB
PHPnowString.class.php 25KB
smarty_internal_configfilelexer.php 23KB
PHPnowRequest.class.php 21KB
smarty_internal_data.php 17KB
PHPnowDatabase.class.php 16KB
smarty_cacheresource_keyvaluestore.php 16KB
smarty_security.php 16KB
function.html_select_date.php 14KB
smarty_internal_compile_block.php 13KB
function.html_select_time.php 13KB
SmartyBC.class.php 13KB
smarty_cacheresource.php 11KB
smarty_internal_cacheresource_file.php 10KB
PHPnowInput.class.php 10KB
smarty_internal_compile_include.php 10KB
smarty_internal_parsetree.php 10KB
smarty_internal_config.php 9KB
smarty_internal_compile_if.php 9KB
smarty_internal_compile_foreach.php 9KB
Vcode.class.php 9KB
common.php 9KB
common.php 8KB
smarty_cacheresource_custom.php 8KB
function.fetch.php 8KB
PHPnowLoader.class.php 8KB
PHPnowIs.class.php 8KB
smarty_internal_compile_private_modifier.php 7KB
smarty_internal_compile_section.php 7KB
modifier.escape.php 7KB
function.html_checkboxes.php 7KB
smarty_internal_compile_function.php 7KB
smarty_internal_compile_private_print_expression.php 7KB
function.html_options.php 6KB
smarty_internal_resource_extends.php 6KB
function.html_radios.php 6KB
smarty_internal_compilebase.php 6KB
smarty_internal_debug.php 6KB
PHPnowBootstrap.class.php 6KB
ipareaPlugins.class.php 6KB
smarty_internal_compile_extends.php 6KB
smarty_internal_compile_for.php 6KB
smarty_internal_compile_private_registered_block.php 6KB
function.mailto.php 5KB
function.html_table.php 5KB
function.html_image.php 5KB
smarty_internal_compile_insert.php 5KB
PHPnowDir.class.php 5KB
modifiercompiler.escape.php 5KB
Page.class.php 5KB
smarty_internal_compile_call.php 5KB
smarty_internal_config_file_compiler.php 4KB
memcache.php 4KB
PHPnowAction.class.php 4KB
smarty_internal_compile_assign.php 4KB
PHPnowClass.class.php 4KB
smarty_internal_compile_private_object_block_function.php 4KB
PHPnowApp.php 4KB
smarty_internal_compile_while.php 4KB
smarty_internal_resource_php.php 4KB
smarty_internal_compile_private_special_variable.php 3KB
outputfilter.trimwhitespace.php 3KB
modifier.debug_print_var.php 3KB
smarty_internal_compile_private_block_plugin.php 3KB
smarty_internal_smartytemplatecompiler.php 3KB
function.cycle.php 3KB
smarty_internal_compile_include_php.php 3KB
block.textformat.php 3KB
PHPnowView.class.php 3KB
pdo.php 3KB
smarty_internal_compile_capture.php 3KB
smarty_internal_resource_registered.php 3KB
smarty_internal_compile_private_registered_function.php 3KB
smarty_config_source.php 3KB
function.math.php 3KB
smarty_resource_custom.php 3KB
PHPnowReturns.class.php 3KB
共 178 条
- 1
- 2
资源评论
毕业_设计
- 粉丝: 1922
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功