주절주절

Gnuboard linked completion

Based on the WordPress member DB, it was linked with Gnuboard to make it possible to write when logging in from BBS. Sharing cookies with sub domain Save the source below as "WP-SSO.PHP" on the server where the WordPress is installed.[PHP][/PHP]If there is no gnuboard session value and WordPress cookie value, module 2 is processed on the server to implement SSO (SINGLE SIGN ON) function If you have a gnuboard session value and the WordPress cookie value, you can empty the session and gangcy the page Nuboard ...

HTTP access information record

When using OpenAPI, it is to check whether the test and access information is properly Messos value, host, POST value when connecting[PHP] <? $log = $_SERVER['REQUEST_METHOD'].' '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."nn"; foreach($_SERVER as $k => $v) { if($k=='HTTP_HOST') continue; if(substr($k, 0,5)!='HTTP_') continue; $log .= '$k: $v'."n"; } $log .= "n"; $post = array_map('urldecode', explode('&', file_get_contents('php://input'))); foreach($post as $v) { $log .= "$vn"; } $log .= "-----------------------------------n"; file_put_contents('log.txt', $log, FILE_APPEND | LOCK_EX); ?> [/PHP]

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 ...