小编Rat*_*Rat的帖子

在输入标记上更改"提交"中的文本

我有一个标签<input type="submit" class="like"/>.我希望按钮内的文字说"赞",但现在,它说"提交".

class="like" 顺便说一句,是我的CSS.

html

84
推荐指数
2
解决办法
15万
查看次数

如何使用 PHP 和 OpenSSL 生成自签名证书

我正在尝试创建一个使用 PHP 和 openSSL 生成自签名证书的网站。我很确定这是某种语法错误,但我似乎找不到它。

我已经在linux终端中尝试过该命令,它似乎可以工作,但仅在PHP文件中,它不起作用。

这是work.php,它主要是功能:

<?php

function terminal($command)
{
        //system
        if(function_exists('system'))
        {
                ob_start();
                system($command , $return_var);
                $output = ob_get_contents();
                ob_end_clean();
        }
        //passthru
        else if(function_exists('passthru'))
        {
                ob_start();
                passthru($command , $return_var);
                $output = ob_get_contents();
                ob_end_clean();
        }

        //exec
        else if(function_exists('exec'))
        {
                exec($command , $output , $return_var);
                $output = implode(n , $output);
        }

        //shell_exec
        else if(function_exists('shell_exec'))
        {
                $output = shell_exec($command) ;
        }

        else
        {
                $output = 'Command execution not possible on this system';
                $return_var = 1;
        }

        return array('output' => $output , …
Run Code Online (Sandbox Code Playgroud)

php openssl certificate

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

标签 统计

certificate ×1

html ×1

openssl ×1

php ×1