Yaptığım bir php sayfada src="resimlinki" içeriğini(resim linki) bir türlü çağıramıyorum
örnek kod;
Alıntı
<img class="alignnone size-full wp-image-333" title="resim333" src="http://www.xyzsitesi.com/wp-content/uploads//2010/08/resim333.jpeg" alt="" width="167" height="253" />
googlde araştırdım biraz fakat bir türlü görüntüleyemedim denediğim yöntemler bunlardı
Alıntı
preg_match('#<img class="alignnone size-full wp-image-(.*?)" title="(.*?)" src="http://www.xyzsitesi.com/wp-content/uploads//(.*?)" alt="" width="(.*?)" height="(.*?)" />#s',$getir,$okulresim);
preg_match_all('@<img class="alignnone size-full wp-image-(.*?)" title="(.*?)" src="http://www.xyzsitesi.com/wp-content/uploads//(.*?)" alt="" width="(.*?)" height="(.*?)" />@si',$getir,$okulresim);
nerde hata yapıyorum ?