http://google.com/
jsl.ajax({
type:'POST',
url:'/getinformation.php',
headers:{
'Content-Type':'application/x-www-form-urlencoded',
},
4:function(res){
var blockId=/block-(\d+)/.exec(jsl(ev.target).attr('data-num-block'))[1],
linkId=/link-(\d+)/.exec(jsl(ev.target).attr('data-num-link'))[1],
match=res.response.match(/<title.*?>(.*?)\n?<\/title>/),
html=res.response==''||res.status!=200||match==null?'New bookmark':match[1];
json.blocks[blockId]['links'][linkId]={
href:ev.target.value,
html:html,
title:html
};
updateData(json,{
blockId:blockId,
linkId:linkId,
newUrl:url,
name:html
},'editLink');
}
},{
url:url
});
echo file_get_contents($_POST['url']);
$post_password=$_POST['password']?$_POST['password']:'';
$microtime=microtime(true);
$user=$_connect_->query("SELECT * FROM users WHERE login='{$_POST['login']}' ORDER BY 'id'");
$user_fetch=$user->fetch();
if($user_fetch==''){
if($_POST['acept']=='true'){
$salt='$6$rounds=1000001$usesomesillystri$D4IrlXatmP7rx3P3InaxBeoomnAihCKRVQP22JZ6EY47Wc6BkroIuUUBOov1i.S5KPgErtP/EN5mcO.ChWQW21';
$db_pass=crypt($post_password,$salt);
$_connect_->exec("
INSERT INTO users(
login,password,count_colum,count_min_width,microtime
)VALUES(
'{$_POST['login']}','{$db_pass}',4,55,'$microtime'
)
");
.....
Тогда это всё откуда и зачем?
Прописал
LoadFile "C:/jampp/php/libeay32.dll"
LoadFile "C:/jampp/php/ssleay32.dll"
LoadFile "C:/jampp/php/php7ts.dll"
LoadFile "C:/jampp/php/libpq.dll"
перезапустил apache
Вероятно должно быть там LoadFile "d:\server\php\php7apache2_4.dll"
Запуск php.exe -m через cmd что кстати даёт?
Fatal error: Uncaught Error: Call to undefined function curl_init() in D:\server\apache\htdocs\getcontent.php:8 Stack trace: #0 D:\server\apache\htdocs\getcontent.php(25): url('https://bill.mc...') #1 {main} thrown in D:\server\apache\htdocs\getcontent.php on line 8
Array (
[0] => Core
[1] => bcmath
[2] => calendar
[3] => ctype
[4] => date
[5] => filter
[6] => hash
[7] => iconv
[8] => json
[9] => mcrypt
[10] => SPL
[11] => pcre
[12] => Reflection
[13] => session
[14] => standard
[15] => mysqlnd
[16] => tokenizer
[17] => zip
[18] => zlib
[19] => libxml
[20] => dom
[21] => PDO
[22] => Phar
[23] => SimpleXML
[24] => xml
[25] => wddx
[26] => xmlreader
[27] => xmlwriter
[28] => apache2handler
[29] => mysqli
[30] => pdo_mysql
[31] => PDO_ODBC
[32] => pdo_sqlite
[33] => sockets
)
Array ( )