주절주절

Simple CDN service module made with PHP

I used Cloudflare to reduce the traffic load, but the connection location was LAX (Los Angeles), so I made it to be used to use it as a CDN form. The server is located in VULTR. The principle is that kilho.net/ {file} is connected to cdn.kilho.net/ {file} to disperse the traffic of the main hosting.[PHP] <? $cfg['url'] = 'kilho.net'; $cfg['cache'] = '../data/cache'; $url = $_SERVER['REQUEST_SCHEME'].'://'.$cfg['url'].$_SERVER['REQUEST_URI']; $url_arr = parse_url($url); switch($_SERVER['REQUEST_METHOD']) { case 'GET': $filename = $cfg['cache'].$url_arr['path']; $dirname = dirname($filename); if(!is_file($filename)) { if(!is_dir($dirname)) mkdir($dirname, 0707, true); $ch = curl_init(); $fp =...

WordPress, Gnu Board linkage

It is currently linked to WordPress and Gnuboard in Kilhonet. After stabilizing the site more, I tried to release the sauce, and I uploaded something made by the request of Gnuboard users. (http://sir.co.kr/bbs/board.php?bo_table=cm_free&wr_id=741180) In the future, I think that the pages generated from the WordPress are directly loaded from the Head.php and Tail.php of the Head.php, and the cash processing and content areas are divided up and down and output. Based on the WordPress member DB, it is linked to Gnuboard, when writing BBS posts ...

Real -time popular writing collection

We hope you will be full of luck and peace in the new year in 2021. When I thought about last year, I seemed to have stayed without any interest in specific fields. In the new year, I was thinking to start with a new heart If you can collect the popular articles of the famous community I thought I would be more comfortable with the recent trend. Real -time popular posts

PageFile.sys, Hiberfil.sys removal

Pagefile.sys removal (files that use hard disk as RAM if you lack memory) Control Panel -System -Advanced System Settings Advanced tab -settings Advanced tab -Change Uncheck the automatic check of automatic management of paging files for all drives No paging file -setting Hiberfil.sys (temporary file for maximum power saving mode) Start -CMD -Run with administrator authority PowerCFG ...

Create shortcut links using Google API

I needed a short link, so I made it PHP. You can use it after registering Google API. How to use: Shortur_google ('original address', 'API key'); <? PHP Function Shortur_google ($ URL, $ Key) { $ post = array ('LONGURL' => $ URL); $ json = json_encode ($ post); $ curlobj = curl_init (); curl_setopt ($ curlobj, curlopt_url, 'https://www.googleapis.com/urlshortener/v1/url?key='..nkey); CURL_SETOPT ($ curlobj, curlopt_returntransfer, 1); CURL_SETOPT ($ curlobj, curlopt_ssl_verifypeer, 0); CURL_SETOPT ($ curlobj, curlopt_Header, 0); curl_setopt ($ curlobj, curlopt_httpHeader, Array ('Content-Type: Application/JSON' '); CURL_SETOPT ($ curlobj, curlopt_post, 1); CURL_SETOPT ($ curlobj, curlopt_postfields, $ json); $ json = json_decode (curl_exec ($ curlobj)); curl_close ($ curlobj); return $ json-> ID; } Echo Shortur_google ('http://kalmuri.kilho.net/', 'API-KEY-API-KEY-Api-Key'); ?>

Windows Cleaner 2.3 Update

We have updated some stabilization and user suggestions. It works well in Windows 8. IE plugin has been added. The main features added to the 2.2 and 2.3 are easy and safer to surf the web by easily terminating the plug -in, such as IE toolbar, which is commonly used as malicious programs. (After checking the Clean IE, just check the plug -in to use and click "Initialize") Add the function ...