Skype: live:satrancali1
Merhaba, kodu vereyim
$FansubLinkimAlanLinkdd = "<!--nextpage-->".$FansubLinkimAlanLinkdd;
$tm = $FansubLinkimAlanLinkdd.$iframekodums;
echo $tm;
$my_post['post_content'] = $tm;
bu böyle olduğunda echo $tm; ile yazdırdığım şey bunlarken
<iframe scrolling="no" frameborder="0" width="100%" height="450" webkitallowfullscreen mozallowfullscreen allowfullscreen src="http://video.meta.ua/iframe/6567419/"></iframe>4<!--nextpage--><iframe width="100%" height="450" src="https://video.sibnet.ru/shell.php?videoid=1422313" frameborder="0" scrolling="no" allowfullscreen></iframe>44<!--nextpage--><iframe title="Kiwi player" width="100%" height="450" src="http://v.kiwi.kz/v2/gnjawbxk19j8/" frameborder="0" allowfullscreen></iframe>
$my_post['post_content'] = $tm; ile wordpresse entegre ettiğimde sadece son kısmı alıyor yani <iframe title="Kiwi player" width="100%" height="450" src="http://v.kiwi.kz/v2/gnjawbxk19j8/" frameborder="0" allowfullscreen></iframe> kısmını alıyor sadece. İsterse önünde 20 tane şey olsun sonuncuyu alıyor sadece. Ne yapmam gerek Ne Etmem gerek. Ben yinede bir üst satıra çıkıp kodu ekleyeyim. İlgilenen olursa İletişime geçebilir.
if($iframekontrol !== false)
{
//echo $FansubLinkimAlanLinkdd;
preg_match('#src=\"(.*?)\"#', $FansubLinkimAlanLinkdd, $FansubLinkimAlanLinkimiframebulma );
$FansubLinkimAlanLinkimiframebulma = $FansubLinkimAlanLinkimiframebulma[1];
$FansubLinkimAlanLinkimiframebulmaBaglan = Baglan($FansubLinkimAlanLinkimiframebulma);
preg_match('#https\:\/\/href\.li\/\?(.*?)\"#', $FansubLinkimAlanLinkimiframebulmaBaglan, $iframekodum );
$iframekodum = "<iframe src=\"".$iframekodum[1]."\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen></iframe>";
$bul = "vk.com";
$degistir = "diziizlettik.noads.biz";
$iframekodum = str_replace($bul, $degistir, $iframekodum);
$iframekodums = "<!--nextpage-->".$iframekodum;
//print_r($iframekodum);
}
else
{
$FansubLinkimAlanLinkdd = "<!--nextpage-->".$FansubLinkimAlanLinkdd;
$tm = $FansubLinkimAlanLinkdd.$iframekodums;
echo $tm;
$my_post['post_content'] = $tm;
}