7-06 8,137 views
阅读全文 0
请注意,KouKou并不支持低于IE8的浏览器,为了获得最佳效果,请下载最新的浏览器,推荐下载 Chrome浏览器
function make_coupon_card() {
$code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$rand = $code[rand(0,25)]
.strtoupper(dechex(date('m')))
.date('d').substr(time(),-5)
.substr(microtime(),2,5)
.sprintf('%02d',rand(0,99));...
6-26 3,695 views
function make_coupon_card() {
$code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$rand = $code[rand(0,25)]
.strtoupper(dechex(date('m')))
...
centos开机自动启动SVN服务的方法
1、编辑rc.local文件
vi /etc/rc.d/rc.local
>2、加入如下启动命令
/usr/bin/svnserve -d -r /home/svn
<strong>注意:</strong>
我们在用终端操作的时候,可以直接使用以下命令启动SVN:
svnserve -d -r /home/s...
4-25 3,860 views
centos开机自动启动SVN服务的方法
1、编辑rc.local文件
vi /etc/rc.d/rc.local
>2、加入如下启动命令
/usr/bin/svnserve -d -r /home/svn
<strong&g...
打开网址:https://www.imagemagick.org/script/download.php
#~ wget https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-7.0.5-4.x86_64.rpm
#~ wget https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-libs-7.0.5-4.x...
4-24 4,088 views
打开网址:https://www.imagemagick.org/script/download.php
#~ wget https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-7.0.5-4.x86...
1.去phpmyadmin官网下载最新版本
https://www.phpmyadmin.net/downloads/
执行命令:
wget https://files.phpmyadmin.net/phpMyAdmin/4.7.0/phpMyAdmin-4.7.0-all-languages.tar.gz
tar -xzvf phpMyAdmin-4.7.0-all-languages.tar.gz
mkdir /apps/www/phpmyadmin
cp...
4-24 3,345 views
1.去phpmyadmin官网下载最新版本
https://www.phpmyadmin.net/downloads/
执行命令:
wget https://files.phpmyadmin.net/phpMyAdmin/4.7.0/phpMyAdmin-4.7....
一、配置防火墙,开启80端口、3306端口
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。
1、关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
2、安装iptables防火...
4-23 5,020 views
一、配置防火墙,开启80端口、3306端口
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。
1、关闭firewall:
systemctl stop firewalld...
systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-04-21 21:32:59 CST...
4-21 21,295 views
systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabl...
img{
transition:All 0.4s ease-in-out;
-webkit-transition:All 0.4s ease-in-out;
-moz-transition:All 0.4s ease-in-out;
-o-transition:All 0.4s ease-in-out;
}
img:hover{
transform:scale(1.1);
-webkit-transform:s...
4-07 3,412 views
img{
transition:All 0.4s ease-in-out;
-webkit-transition:All 0.4s ease-in-out;
-moz-transition:All 0.4s ease-in-out;
-o...
php需要安装imagick扩展,并引入imagick类库,代码:
<?php
require 'imagick.php';
imagick = new lib_image_imagick();
$imagick->open($path_0);//图片路径
$imagick->resize_to(230, 350, 'center'); //要截取缩略图的大小,
$imagick->save_to($ne...
4-07 3,875 views
php需要安装imagick扩展,并引入imagick类库,代码:
<?php
require 'imagick.php';
imagick = new lib_image_imagick();
$imagick->open($path_0);//...
#########
$(".productshow").xslider({//.productshow是要移动对象的外框;
unitdisplayed:3,//可视的单位个数 必需项;
movelength:1,//要移动的单位个数 必需项;
maxlength:null,//可视宽度或高度 默认查找要移动对象外层的宽或高...
4-06 3,533 views
#########
$(".productshow").xslider({//.productshow是要移动对象的外框;
unitdisplayed:3,//可视的单位个数 必需项;
movelength:1,//...