我有一个标签<input type="submit" class="like"/>.我希望按钮内的文字说"赞",但现在,它说"提交".
class="like" 顺便说一句,是我的CSS.
我正在尝试创建一个使用 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)