我已将备份上传到表格,打开表格我看到了:
Warning in ./libraries/sql.lib.php#601
count(): Parameter must be an array or an object that implements Countable
Backtrace
./libraries/sql.lib.php#2038: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1984: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string 'alternativegirls',
string 'tgp_photo',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `tgp_photo`',
NULL,
NULL,
)
./sql.php#216: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string 'alternativegirls',
string 'tgp_photo',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `tgp_photo`',
NULL,
NULL,
)
./index.php#53: …Run Code Online (Sandbox Code Playgroud) 如标题所示,robots.txt 中爬行延迟可以设置的最大值是多少?
我从 bing 获得的点击量很少,但在我的服务器中 bing 消耗的资源比 google 更多。
所以我根本不想阻止 bing(因为它不好),但我需要限制 bing 对我的服务器的访问。
我看到有人使用crawl-delay: 120,但后来我读到也许bing只能理解从10到30的crawl-delay。
我对 robots.txt 做了一些测试,最初似乎有效,但过了一段时间我开始收到来自 bing 的大量请求。我也尝试在bing站长工具上设置扫描频率,但没有太大变化。
我想为 yandex 做同样的事情,我不能每天收到 250000 次点击来换取每月 10 次访问,但我不想完全阻止它。
总而言之,可用于 bing 和 yandex 的最大抓取延迟值是多少?
我想使用 SpeechSynthesisUtterance 阅读我的页面文本。
\n\n我找到了这个脚本:https://www.hongkiat.com/blog/text-to-speech/
\n\n几乎完美,但暂停按钮似乎没有多大作用,我希望我能够设置语言,也许还可以选择声音。
\n\n我在这里找到了参考: https: //developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance,但我对 JavaScript 不是很了解。
\n\n对于语言,据我了解,应该使用html标签中设置的lang参数。
\n\n对于语音我完全不知道如何在代码中实现它。
\n\n这很重要,因为我有英语、西班牙语、法语和意大利语的文本,而没有语音和语言设置的结果有时听起来很奇怪。
\n\n这些天我摆弄了一下,我设法(或多或少)组合了两个不同的脚本/示例。
\n\n这个:https: //www.hongkiat.com/blog/text-to-speech/
\n\n这是: https: //developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis#Examples
\n\n出来的代码是这样的:
\n\n超文本标记语言
\n\n<html>\n<head>\n<link rel="stylesheet" href="style.css">\n<script src="text-to-speech.js"></script>\n</head>\n<body>\n<div class=buttons>\n <button id=play></button> \n <button id=pause></button> \n <button id=stop></button>\n</div>\n <select id="voices">\n\n </select>\n<div id="description">\nThe SpeechSynthesis interface of the Web Speech API is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices …Run Code Online (Sandbox Code Playgroud) (这个问题最初更具解释性,但管理员不喜欢它......他们要求它更加集中,所以让我们尝试只回答问题。)
apache ×1
bing ×1
countable ×1
delay ×1
http2 ×1
javascript ×1
nginx ×1
php ×1
php-7.4 ×1
phpmyadmin ×1
robots.txt ×1
yandex ×1