curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_STDERR, fopen('php://output', 'w'));if (file_exists($path)) : // wtf?
unlink($path);
endif; // синтаксис шаблонов, зачем он здесь?string json = @"{""key1"":""value1"",""key2"":""value2""}";
var values = JsonConvert.DeserializeObject<Dictionary<string, string>>(json);https://www.newtonsoft.com/json [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]if ($config->showModal) {
...
}$reader = new XMLReader();
$reader->open($file);
$counter = 0;
while ($reader->read()) {
...
$counter++; // ← счетчик обработанных узлов
}Предостережение
Как будет работат //TRANSLIT и будет ли вообще, зависит от системной реализации iconv() (ICONV_IMPL). Известны некоторые реализации, которые просто игнорируют //TRANSLIT, так что конвертация для символов некорректных для out_charset скорее всего закончится ошибкой.
var foo = id3.valuevar foo = document.querySelector('#id3').value vasya_coolhacker@mail.ru.not@admin.com. Отличный план! $('#MYBTN').on('click',function(){
var captchaContainer = null;
var loadCaptcha = function() {
captchaContainer = grecaptcha.render('captcha_container', {
'sitekey' : 'Your sitekey',
'callback' : function(response) {
console.log(response);
}
});
};
loadCaptcha();
});<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<div id="captcha_container"></div>
<input type="button" id="MYBTN" value="MYBTN">
<script src="https://www.google.com/recaptcha/api.js?onload=loadCaptcha&render=explicit"></script>input type="hidden" с идентификатором. function Slider(images, prevBtn, nextBtn) {
this.images = images;
var self = this;
// ...
prevBtn.onclick = function () {
hide(self.images[self.i], 19);
self.i--;
// ...
};
}// ...
nextBtn.onclick = () => {
console.log(this.images)
};
// ...https://jsfiddle.net/06v3j7f3/или сделать более цивилизованно другим способом.