Uncaught SyntaxError: Unexpected identifier
var mytext = "sssssss";
ContentInBuffer(mytext);
async ContentInBuffer(content) {
try {
await navigator.clipboard.writeText(content);
} catch (err) {
console.error('Ошибка копирования в буфер: ', err);
}
}
$id = 0;
if($_GET['nickname'])
{
$user = R::findOne('users', 'nickname = ?', array($_GET['nickname']));
if($user)
$id = $_GET['nickname'];
}
RewriteRule ^[a-z0-9_-]{3,16}$/([0-9]+)/? profile.php?nickname=$1 [L]
use CGI::Session;
use CGI::Carp qw(fatalsToBrowser);
require DBI;
my $ok = "<br><b style='background:#1a1;color:#fff;padding:2px;'>OK</b>";
my $ses = CGI::Session->new;
my $f = $ses->id();
use Session;
use CGI::Carp qw(fatalsToBrowser);
require DBI;
my $ok = "<br><b style='background:#1a1;color:#fff;padding:2px;'>OK</b>";
my $ses = Session->new();
my $f = $ses->f;
use CGI::Session;
use CGI::Carp qw(fatalsToBrowser);
require DBI;
my $ok = "<br><b style='background:#1a1;color:#fff;padding:2px;'>OK</b>";
my $ses = CGI::Session->new();
my $f = $ses->id();