PHP生成和在线浏览类库

2017-12-31 11:53:01140997查看评论(4)
简介:

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when working
| with the file system.  The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.).  Octal values should
| always be used to set the mode correctly.
|
*/
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);
/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/
define('FOPEN_READ','rb');
define('FOPEN_READ_WRITE','r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE','wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE','w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE','ab');
define('FOPEN_READ_WRITE_CREATE','a+b');
define('FOPEN_WRITE_CREATE_STRICT','xb');
define('FOPEN_READ_WRITE_CREATE_STRICT','x+b');
/* End of file constants.php */
/* Location: ./application/config/constants.php */

这是一个PHP生成和在线浏览类库,需要的朋友可以下载使用。

PHP生成和在线浏览类库

特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:admin@php.cn

网页评论
最新评论
知言
  • 知言
  • 好东西,收藏了
  • 2019-05-09 22:49:13发表+0回复
心与境合
秦永平
  • 秦永平
  • 先评论后下载,应为:先下载后评论。下载作为记录,下次登录的时候,要求评论。似乎合理些?
  • 2019-04-26 17:01:57发表+0回复
秦永平
  • 秦永平
  • 先评论后下载,应为:先下载后评论。下载作为记录,下次登录的时候,要求评论。似乎合理些?
  • 2019-04-26 17:01:56发表+0回复