Php file get contents


Zaman:20-03-2018 04:24

file_get_contents

php file get contents komutu bir dosyadaki bilgileri okumak için kullanılır. özellikle internet sayfalarından bilgi okumak için curl veya file_get_contents komutu kullanılmaktadır.

Yazılışı:

 

$bilgi=file_get_contents("http://www.tr3d.com");       

sonuç:

hedef web sayfası sadece yazı haliyele $bilgi değişkeni içine gelir.

... Devam?

phpkodlari.com © 2009 Herkes Php öğrenecek
Eglence ve Oyun: Gamikro