<div class="blur"></div>
<div class="image">
<a href="image/1.jpg" class="popup_image"><img src="image/1sm.jpg" alt="" title=""></a>
</div>
<?php
$subdomen = file('1.txt');
header('HTTP/1.1 301 Moved Permanently');
header('Location: '.$subdomen);
exit();
?>
<input type="text" name="tovar_1" value="Название товара" />
<input type="text" name="tovar_2" value="Название товара 2" />
$value_1 = $_POST["tovar_1"];
$value_2 = $_POST["tovar_2"];
sudo a2dismod php5.5 ; sudo a2enmod php7.0 ; sudo service nginx restart
sudo a2dismod php7.0 ; sudo a2enmod php5.5 ; sudo service nginx restart
function est_li_file($vashfile, $timeout) {
ini_set('default_socket_timeout', $timeout);
stream_set_timeout($timeout);
$vashfile = fopen($vashfile, 'r');
if($vashfile) {
fclose($vashfile);
ваш код
}else{
ваш код когда отсутствует
}
}
sudo apt install php7.2
<select class="form-control input-lg" name="numberp" data-rule="numberp">
<option value="Stakeholder">Stakeholder</option>
<option value="PPP GLOBAL STAKEHOLDERS">PPP GLOBAL STAKEHOLDERS</option>
<option value="BUSINESS Assoc">BUSINESS Assoc</option>
<option value="GOVERNMENT & LPA’s">GOVERNMENT & LPA’s</option>
<option value="AID - Donors">AID - Donors</option>
<option value="CIVIL SOCIETY">CIVIL SOCIETY</option>
</select>
$numberp = $_POST['numberp'];
<?php
if(isset($_POST['btn_name'])){
$numberp = $_POST['numberp']
if($numberp == "1"){
echo"Stakeholder";
}
if($numberp == "2"){
echo"PPP GLOBAL STAKEHOLDERS";
}
}?>
$("#getSliderImages").click(function () {
$("#carousel-example-generic").load();
});