这种设置是怎么回事呢

WBOY
Release: 2016-06-23 13:32:54
Original
1109 people have browsed it

下面是ecshop中一个文件的设置,感觉怪怪的。
@好理解,是为了防止notice的,可是后面的就不理解了。比如形如  ini_set('memory_limit',          '64M');这是常量?显然不对,那是啥呢
@ini_set('memory_limit',          '64M');
@ini_set('session.cache_expire',  180);
@ini_set('session.use_trans_sid', 0);
@ini_set('session.use_cookies',   1);
@ini_set('session.auto_start',    0);
@ini_set('display_errors',        1);


回复讨论(解决方案)

ini_set 就是设置php.ini里面的php参数
比如:memory_limit 就是内存大小

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template