php根据IP获取地理位置TOP

piaoling  2013-10-25 17:56:43

http://www.phpandstuff.com/articles/geoip-country-lookup-with-php How to get the surfers country using PHP? Most coders need to tackle this problem sooner or later. There are several options out there. There is even a package called GeoIP Location. However, since this does not come with most default installations, it may not be your best choice. A company called Maxmind specializes in professional GeoIP solutions. However, when you dig through their website, you can find that they also provide some free databases and free code. I will show you how to use this free stuff in a portable......

类别 :  默认(707)  |  浏览(57148)  |  评论(1)

都是一生啊TOP

piaoling  2013-02-04 11:06:17

......

类别 :  默认(707)  |  浏览(19165)  |  评论(0)

jquery sheetTOP

piaoling  2011-08-02 17:53:39

......

类别 :  jQuery(9)  |  浏览(9503)  |  评论(0)

jquery view js

piaoling  2023-02-01 14:44:35

jquery view js https://github.com/fengyuanchen/jquery-viewer https://toscode.gitee.com/mirrors/Viewer-jQuery demo:https://fengyuanchen.github.io/viewer/ Options You may set viewer options withnew Viewer(image, options). If you want to change the global default options, You may useViewer.setDefaults(options). backdrop Type:BooleanorString Default:true Enable the modal backdrop, specifystaticfor the backdrop that will not close the modal on click. button Type:Boolean Default:true Show the ......

类别 :  默认(707)  |  浏览(227)  |  评论(0)

CentOS7 安装 PHP7 完全详细教程

piaoling  2022-07-05 16:15:07

CentOS7的默认PHP版本是PHP5,但是如果我们要安装PHP7,不需要将现有的PHP5删除,只要将PHP升级到PHP7即可。 使用 yum provides php 命令可以获取CentOS7的PHP包安装情况。显示的是在现有的安装源中能够安装的最新版本为:php-5.4.16-46.el7.x86_64 在安装PHP7之前,建议先升级更新一下CentOS7的安装包: yum -y update :升级所有软件包的同时也升级软件和系统内核; yum -y upgrade :只是升级所有软件包,但是不升级软件和系统内核。 我们这里使用第二条:yum -y upgrade ......

类别 :  默认(707)  |  浏览(1938)  |  评论(0)

centos 7 安装lamp

piaoling  2022-07-05 15:48:57

systemctl stop firewalld setenforce 0 yum -y install httpd systemctl start httpd.service systemctl enable httpd.service yum install php* -y --skip-broken systemctl restart httpd yum install mariadb-server mariadb -y systemctl start mariadb mysql_secure_installation systemctl enable mariadb  #设置开机启动 yum -y install php-mysql --skip-broken yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel systemctl restart httpd.service 启用https yum install mod_ssl ......

类别 :  默认(707)  |  浏览(1325)  |  评论(0)

docker MYSQL [Error] Operating system error number 22 in a file operation

piaoling  2020-02-20 16:58:09

共享文件夹F:/docker=>虚拟机/docker 需加--innodb-use-native-aio=0 完整命令: docker run -itd --name mysql -p 3307:3306 -v /docker/mysql/conf/conf.d:/etc/mysql/conf.d -v /docker/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=root mysql --innodb-use-native-aio=0 ......

类别 :  默认(707)  |  浏览(5285)  |  评论(0)

解决docker容器存放目录磁盘空间满了问题

piaoling  2020-02-20 11:18:52

前言 docker所在服务器,运行了一段时间后,发现服务器磁盘目录快不够用了。通过du -h --max-depth=1 /逐级目录排查,发现/var/lib/docker目录文件过大。通过以下方法,解决该问题。 转移数据修改docker默认存储位置 有多种方式修改docker默认存储位置。 最好是在docker安装完后,第一时间修改docker默认存储位置为其他大目录或者磁盘中。规避迁移数据过程中造成的风险。 停止docker服务 systemctl stop docker 创建新的docker目录......

类别 :  默认(707)  |  浏览(4086)  |  评论(0)

脚本

piaoling  2018-10-29 11:16:20

Function gotoPosition()     MoveTo 225, 568     Delay 2428     LeftClick 1     MoveTo 199, 331     Delay 1648     LeftClick 1     Delay 1025     KeyDown "2", 1     Delay 91     KeyUp "2", 1     Delay 441     KeyDown "9", 1     Delay 58     KeyUp "9", 1     Delay 203     KeyDown "9", 1     Delay 54     KeyUp "9", 1    &......

类别 :  默认(707)  |  浏览(3805)  |  评论(0)

email content filter double mail send

piaoling  2018-02-27 16:59:39

add -o receive_override_options=no_address_mappings smtp inet n - - - - smtpd -o content_filter=spamassassin -o receive_override_options=no_address_mappings https://serverfault.com/questions/18707/postfix-send-double-mail-when-mail-is-forwarded Most likely you have a content filter and the always_bcc is being called both before and after the content filter. Customise the smtpd either before or after the content filter to include -o receive_override_options=no_address_mappings (Note that options in mas......

类别 :  默认(707)  |  浏览(6878)  |  评论(0)
  • Page:1/141  1407 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类