原创 php發送email(swiftmailer)

<?php /** * swiftmailer 發送郵件 * DB:https://github.com/ThingEngineer/PHP-MySQLi-Database-Class * * 1,鏈接mysql pdo

原创 purifier用來過濾危險的標籤xss

htmlpurifier下載地址:   http://htmlpurifier.org/  purifier下載地址:   https://github.com/mewebstudio/Purifier    laravel <?php

原创 deepin15.11+lnmp+網站訪問

一,準備: 1, linux:deepin15.11 ( linux內核:deian 9 ) 2, 安裝軟件:lnmp ( lnmp.org lnmp1.6 ) 二,安裝lnmp 推薦 https://lnmp.org/

原创 php之pdo知識梳理

       一,防sql注入       二,pdo  錯誤   errorCode  與 errorInfo       三,pdo 視圖 一,防sql注入 1,bindParam(1, $username, PDO::PARAM

原创 yum安裝PipelineDB11

說明:這裏是我對與安裝PipelineDB11的補充(也許沒有什麼用) 正經安裝參考: PipelineDB安裝(CentOS7) https://blog.csdn.net/gaokcl/article/details/

原创 deepin15.10.1安裝與介紹

Deepin (Linux系統) : 1, 介紹: LinuxDeepin[Linux操作系統的一種發行版。 Linux有很多種發行版。主要有兩個系列。 Red Hat 系列:Red Hat、CentOS、Fedora、

原创 Web項目文件操作(PHP)

1,文件操作  <?php function readDir($path = 'e:/data/') { $arr = array(); $handle = opendir($path); while ((

原创 CentOS7安裝PipelineDB10

1, 安裝PipelineDB10 參考Postgresql官方文檔:https://www.postgresql.org/ 參考PipelineDB官方文檔:http://docs.pipelinedb.com/install

原创 安裝使用PipelineDB10

題目無所謂,這一篇是對上一篇的部分解釋: https://blog.csdn.net/gaokcl/article/details/95041448 一, 安裝PipelineDB10 參考PipelineDB官方文檔:

原创 CentOS7安裝配置簡單使用postgresql10

說明: 1, Linux版本:CentOS7 2, postgresql的版本:10(最新是11),主要方便入手,不用最新的 3, pipelineDB是基於postgres的stream數據庫。完全兼容pg的

原创 PHPMailer

PHPMailer PHP自帶的mail擴展 1, 配置的PHP代碼如下: <?php require_once('../phpMail/class.phpmailer.php'); require_once("../ph

原创 Windows10安裝配置yaf

一,Windows10安裝配置yaf 下面有nginx與Apache的站點配置 ​ Yaf官方文檔:http://www.laruence.com/manual/index.html 第一步:安裝PHP擴展配置Yaf

原创 Restful的實例

Apache路由重寫: .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f R

原创 Apache Nginx 防止盜鏈

1, Apache Nginx 防止盜鏈 2, http協議相關信息 Apache 防止盜鏈 參考 :https://blog.csdn.net/cnbird2008/article/details/5063686 1,php.

原创 PHP【mysqli、pdo】 連接mysql數據庫

0,數據庫 test_db 的表:  -- ---------------------------- -- Table structure for articles -- ---------------------------- D