Skip to Content

Share

>

Popsicle

The original and vibrant design of this wall sconce gives off a modern feeling that brilliantly complements your exterior design. Its white plastic shade creates a cozy atmosphere while protecting the piece from the elements.

Product Overview

  • - Measurements: 6.8 in. x 5.9 in. x 10.6 in.
  • - Provides a neutral white light with a temperature of 4,000 K.
  • - Energy efficient 9-Watt, LED life up to 30,000 hours.
SQLSTATE[HY000] [2002] Connection refused (SQL: update `tags` set `visit` = 2025-09-18 17:26:28 where `tag_name` = decorliving.us)
Illuminate \ Database \ QueryException
PHP 8.1.99.31.0
SQLSTATE[HY000] [2002] Connection refused
update `tags` set `visit` = 2025-09-18 17:26:28 where `tag_name` = decorliving.us
app / Http / Controllers / PostController.php: 105
        //查询数据库的$uri 处理步骤1
        //echo "<div style='display:none;' class='ttt'>" . $uri . "</div>";

        $uri = str_replace('www.', '', $uri);

        //获取相关tag
        $visit_url = $_SERVER['REQUEST_URI'];
        if ($visit_url[0] == '/') {
            $visit_url = 'http:/' . $visit_url;
        }
        $visit_arr = parse_url($visit_url);
        $visit_doname = str_replace('www.', '', $visit_arr['host']);

        $now = date('Y-m-d H:i:s', time());
        //更新tag时间
        DB::table('tags')->where('tag_name', $visit_doname)->update(['visit' => $now]);


        //用于查询数据库的$uri 此处多去了一个w
        //echo "<div style='display:none;' class='ttt'>" . $uri . "</div>";

        //12小时清除缓存 833086400
        $output = cache()->remember($uri, null, function () use ($uri) {

            /*$re = Post::where('post_uri', $uri)->orWhere('post_uri', $uri . '/')->get();

            //echo "<div style='display:none;' class='ttt'>" . " 查詢数据库^" . '' . "</div>";

            //不用時,須注釋!!
            //  echo '<div style="display:none;">';

Request

https://getrelatear.com/decorliving.us/
POST
curl "https://getrelatear.com/decorliving.us/" \
   -X POST \
   -H 'accept-encoding: gzip, br' \
   -H 'connection: Keep-Alive' \
   -H 'x-forwarded-for: 72.167.105.187' \
   -H 'x-forwarded-proto: https' \
   -H 'cf-visitor: {"scheme":"https"}' \
   -H 'cf-ipcountry: US' \
   -H 'cf-connecting-ip: 72.167.105.187' \
   -H 'cdn-loop: cloudflare; loops=1' \
   -H 'cf-ray: 980fcd49bcfd4638-DFW' \
   -H 'accept: */*' \
   -H 'content-type: application/x-www-form-urlencoded' \
   -H 'host: getrelatear.com' \
   -H 'user-agent: resource' \
   -H 'content-length: 172' \
   -F 'viip=216.73.216.36' -F 'turl=decorliving.us/' -F 'viua=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'

Headers

accept-encoding
gzip, br
connection
Keep-Alive
x-forwarded-for
72.167.105.187
x-forwarded-proto
https
cf-visitor
{"scheme":"https"}
cf-ipcountry
US
cf-connecting-ip
72.167.105.187
cdn-loop
cloudflare; loops=1
cf-ray
980fcd49bcfd4638-DFW
accept
*/*
content-type
application/x-www-form-urlencoded
host
getrelatear.com
user-agent
resource
content-length
172

Body

{
    "viip": "216.73.216.36",
    "turl": "decorliving.us/",
    "viua": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
}

App

Routing

Controller
App\Http\Controllers\PostController@index
Middleware
  • web

Context

Versions

Php Version
8.1.9
Laravel Version
9.31.0
Laravel Locale
zh_CN
Laravel Config Cached
false
App Debug
true
App Env
local
0.718