Answer the question
In order to leave comments, you need to log in
php. how to put it into the script?
$slovo = "about acne";
$slovo = str_replace(' ', '+', $slovo);
$slovo = str_replace('-', '+', $slovo);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, ' mydomain.com/xlon.php?q= '.$slovo.'');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
curl_close($ch);
echo "".$result ."";
$bar = fopen 'url.txt';
$slovo = "about acne";
$slovo = str_replace(' ', '+', $slovo);
$slovo = str_replace('-', '+', $slovo);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, ''.$bar.''.$ttt2.'');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
curl_close($ch);
echo "".$result ."";
$bar = fopen 'url.txt';
curl_setopt($ch, CURLOPT_URL, ''.$bar.''.$ttt2.'');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question