Portfolio
server

PHP7 mysql lib to mysqli convert

July 2, 2016Category : Code/Web

Đây là thư viện để các bạn không phải sửa từng chút một trong code nữa thêm include hoặc require trong config.php là được <?php namespace { if (!function_exists(‘\mysql_connect’)) { define (‘MYSQL_ASSOC’, 1); define (‘MYSQL_NUM’, 2); define (‘MYSQL_BOTH’, 3); define (‘MYSQL_CLIENT_COMPRESS’, 32); define (‘MYSQL_CLIENT_SSL’, 2048); define (‘MYSQL_CLIENT_INTERACTIVE’, 1024); define (‘MYSQL_CLIENT_IGNORE_SPACE’, 256); function mysql_connect( $hostname =..

Read more
01.

Dịch vụ SMTP Server miễn phí nên dùng

May 24, 2016Category : Code/Web

SMTP Server (server dùng để gửi mail) là một dịch vụ cho phép gửi email với số lượng lớn, tốc độ nhanh mà không bị giới hạn như các hòm mail miễn phí của Gmail hoặc mail đi kèm hosting. Ứng dụng của SMTP Server rất nhiều, bạn có thể dùng để gửi Email Marketing, gửi..

Read more
03.

Facebook Messenger Chatbot Setup in PHP

May 5, 2016Category : Code/Web

Here is a step by step guide to make your first chatbot. Widely anticipated, Facebook has announced their messenger platform enabling businesses to build their own chat bots — automated response tools within Messenger which will be able to handle increasingly complex customer queries. Official Facebook Getting started guide https://developers.facebook.com/docs/messenger-platform/quickstart for Messenger Platform https://developers.facebook.com/products/messenger/ only have examples for..

Read more
04.

Create bot Facebook Messenger

April 21, 2016Category : Code/Web

Dưới đây là các bước để tạo một bot chat trên Facebook Messenger. 1. Thiết lập Messenger bot sử dụng web server để xử lý những tin nhắn mà nó nhận được hoặc tìm ra các tin nhắn để gửi. 1.1. Xây dựng server 1. Tải và cài đặt Heroku Toolbet tại đây để khởi..

Read more
05.

Add videojs player html5 with javascript

November 18, 2015Category : Code/Web

index.php <div id=”video”><p> Restart or F5 browser to view this content.</p></div> <link href=”<?php echo get_template_directory_uri(); ?>/css/video-js.min.css” rel=”stylesheet”> <script src=”<?php echo get_template_directory_uri(); ?>/js/videojs.min.js”></script> <script src=”<?php echo get_template_directory_uri(); ?>/js/jquery.min.videojs.js”></script> <script type=’text/javascript’> var obj, source; obj = document.createElement(‘video’); $(obj).attr(‘id’, ‘example_video_test’); $(obj).attr(‘class’, ‘video-js vjs-default-skin’); $(obj).attr(‘controls’, ‘ ‘); $(obj).attr(‘poster’, ‘http://todaytv.club/movie_night_image.jpg’); $(obj).attr(‘preload’, ‘auto’); $(obj).attr(‘data-setup’, ‘{“inactivityTimeout”: 0}’); $(obj).attr(‘autoplay’, ‘true’); source = document.createElement(‘source’);..

Read more
06.

[WP] W3 Total Cache settings with Cloudflare GUIDE

October 12, 2015Category : Code/Web

W3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed.  It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC  improves the user experience of your site by increasing web server performance by reducing..

Read more
08.

[MSSQL Server] Code xóa Logfile

September 17, 2015Category : Code/Web IT & Network

Declare @SQLQuerry nvarchar(255) Declare @dbname nvarchar(255) Declare @CrsrVar Cursor Set @CrsrVar = Cursor For SELECT name FROM sys.databases where name not in (‘tempdb’,’distribution’,’master’,’model’,’msdb’,’ReportServer’,’ReportServerTempDB’) Open @CrsrVar Fetch Next From @CrsrVar into @dbname While(@@FETCH_STATUS = 0) Begin — Truncate the log by changing the database recovery model to SIMPLE. SET @SQLQuerry = ‘USE [‘ +@dbname +’];ALTER DATABASE..

Read more
09.

Ngăn chặn Microsoft theo dõi người dùng

August 27, 2015Category : IT & Network

Microsoft theo dõi bạn như thế nào? Thông qua Network Connectivity Status Indicator: Mỗi khi bạn khởi động máy tính, một test kết nối bạn sẽ được chạy tự động để kiểm tra kết nối Internet có khả dụng hay không Máy tính thực hiện kết nối request tới một text file trên NCSI Server của Microsoft (..

Read more
010.

Điều cần phải làm trước khi ra mắt trang web Magento

August 20, 2015Category : Code/Web

1. Thay đổi Base URLs Những URL này được lưu trữ trong cơ sở dữ liệu của Magento, khoá core_config_data. Bạn cũng có thể thay đổi nó trong Admin của Magento bằng cách vào System > Configuration > Web. Bạn chỉ thay đổi cái này khi bạn chuyển domain hoặc đổi kiểu domain, ví dụ khi bạn cài SSL cho trang web..

Read more
012.

ReportQueue folder too big – is it safe to delete?

July 3, 2015Category : IT & Network

We have noticed extremely large folder on our server. It happens that Error logs are kept there. Folder is here: c:\users\%username%\appdata\local\Microsoft\Windows\WER\ReportQueue We have deleted its content completely and we also disabled Error logging. In order to do this you need to change group policy (as administrator): Start gpedit.msc to open the group policy editor Browse..

Read more
013.

Bản ghi SPF Record cho domain của bạn

February 10, 2015Category : IT & Network

SPF là gì  Chúng ta được yêu cầu tạo SPF record (sender policy framework) cho domain của minh. SPF là 1 kiểu bản ghi của dịch vụ tên miển (DNS)được dùng để xác định máy chủ mail được quyền gỏi mail đại diện cho domain của bạn. Mục đích của bản ghi SPF là ngăn..

Read more
014.

Remote desktop with multiple users and multiple session – 2008r2 -2012

January 29, 2015Category : IT & Network

. Ý tưởng và mục đích:Hiện tại, người dùng máy chủ Windows hoặc các hệ thống HĐH dùng Windows hoặc hệ thống ảo hoá VMware Labs rất quan tấm tới các giải pháp có thể điều khiển từ xa vào hệ thống mạng Extranet / LAN với nhiều tài khoản cấp cho người dùng với..

Read more
016.
© Oliver / All rights reserved.
To top