小编Ali*_*N11的帖子

注意:ob_end_flush():无法发送zlib输出压缩缓冲区(1)

我在localhost上没有任何问题.但是当我在服务器上测试我的代码时,每一页的末尾都会看到这个通知.

我的代码:

<?php
ob_start();
include 'view.php';

$data = ob_get_contents();
ob_end_clean();
include 'master.php';
ob_end_flush();  // Problem is this line
Run Code Online (Sandbox Code Playgroud)

php buffer zlib

13
推荐指数
3
解决办法
2万
查看次数

Flash无法在沙箱属性中的iframe中使用

我曾经用过iframe一些页面adobe flash.这些页面可能包含像视频这样的内容.我的问题是abode flash不在iframesandbox属性中执行.我的iframe标签:

<iframe sandbox="allow-popups allow-pointer-lock allow-same-origin allow-forms allow-scripts" src="http://example.com"></iframe>
Run Code Online (Sandbox Code Playgroud)

flash iframe html5 sandbox

9
推荐指数
1
解决办法
2478
查看次数

Argon2 的最大输入和输出长度

如您所知,最大输入长度为bcrypt72 个字符,输出长度为 60 个字符。(我已经在 中测试过PHP。如果我错了,请纠正我)

我想知道 的最大输入长度和确切的输出长度argon2。谢谢。

hash argon2-ffi

5
推荐指数
1
解决办法
6080
查看次数

Laravel主域路由适用于子域

当我打开时,test.example.com/main我预计会出现404错误,因为此路由未在子域路由中定义。但是主域路由适用于子域。因此,路由Route::get('/main' ...运行并且看起来有效,但它一定无效。

我的routes/web.php

Route::domain('test.example.com') -> group(function () {
    Route::get('/sub', function(){
        return view('sub.index');
    });
});

Route::get('/main', function(){
    return view('main.index');
})
Run Code Online (Sandbox Code Playgroud)

php laravel

3
推荐指数
1
解决办法
991
查看次数

标签 统计

php ×2

argon2-ffi ×1

buffer ×1

flash ×1

hash ×1

html5 ×1

iframe ×1

laravel ×1

sandbox ×1

zlib ×1