<?php
session_start();
$_SESSION['name'] = $_GET['name'];
echo $_GET['name'];
<?php
session_start();
var_dump($_SESSION);
//далее использовать примерно так
$name = $_SESSION['name'];
.footer-widget-area {
position: relative;
background: url(../img/f-bg.jpg) no-repeat center center/cover;
}
<?php
public function actionDownload() {
$path = \Yii::getAlias('@uploads') ;
$file = $path . '/some-file.pdf';
if (file_exists($file)) {
return \Yii::$app->response->sendFile($file);
}
throw new \Exception('File not found');
}