Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script buat klasmen bola
#8
(02-13-2012, 03:26 PM)nesta Wrote:
(02-13-2012, 12:27 PM)k1m8ut5 Wrote: blognya pakai apa?
subdomain wordpress.com apa hosting sendiri? atau blogspot?
buat naruh script php-ny

emang beda ya om wp sma belogspot? bukannya sama2 support php?

emangnya kita bisa naruh script php di blogspot ya??
caranya gimana? Bingung
@TS
coba ini : http://prastyo.com/demo/klasmen.php
scriptnya :
PHP Code:
<? //halaman statistik function bacaHTML($url_target) { //inisialisasi CURL $data = curl_init(); //setting curl curl_setopt($data, CURLOPT_URL, $url_target); curl_setopt($data, CURLOPT_RETURNTRANSFER, 1); //menjalankan curl untuk membaca isi file $hasil = curl_exec ($data); curl_close ($data); return $hasil; } $url_target = "http://www.detiksport.com/sepakbola/klasemen"; $kodeHTML = bacaHTML($url_target); $atas = explode('<div class="content_interaktif box_1">',$kodeHTML); $inggrisx = explode('<div class="hasil_pertandingan2 pt10" style="height: auto; display: block; overflow: hidden;">',$atas[1]); $cumainggris= explode(' <div class="paging_1 right">',$inggrisx[2]); echo "English Premier League"; echo $cumainggris[0];
nanti bisa tampil
English Premier League
No Team M M S K SG Nilai
1 Manchester City 25 19 3 3 64-19 60
2 Manchester United 25 18 4 3 61-25 58
3 Tottenham Hotspur 25 16 5 4 49-25 53
4 Arsenal 25 13 4 8 48-35 43
5 Chelsea 25 12 7 6 44-31 43

----update--
kok kalau di localhost bisa jalan ya,
kalau di hosting gak bisa, apa idhostinger gak ngebolehin curl Santet
Reply


Messages In This Thread
Script buat klasmen bola - by t4rno - 02-13-2012, 02:39 AM
RE: Script buat klasmen bola - by arDhi^_ - 02-13-2012, 04:04 AM
RE: Script buat klasmen bola - by k1m8ut5 - 02-13-2012, 07:45 AM
RE: Script buat klasmen bola - by t4rno - 02-13-2012, 10:49 AM
RE: Script buat klasmen bola - by k1m8ut5 - 02-13-2012, 12:27 PM
RE: Script buat klasmen bola - by nesta - 02-13-2012, 03:26 PM
RE: Script buat klasmen bola - by k1m8ut5 - 02-13-2012, 07:15 PM
RE: Script buat klasmen bola - by compLann - 02-13-2012, 09:14 PM
RE: Script buat klasmen bola - by t4rno - 02-14-2012, 03:42 AM
RE: Script buat klasmen bola - by newbie-herbet - 02-14-2012, 04:08 AM
RE: Script buat klasmen bola - by Jacket^Cyber - 02-13-2012, 03:19 PM
RE: Script buat klasmen bola - by Up_ - 02-14-2012, 03:07 PM
RE: Script buat klasmen bola - by t4rno - 02-14-2012, 03:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  script auto reply mentions di twitter by me RieqyNS13 17 484 09-27-2014, 08:58 AM
Last Post: zombiers_keder
  [ASK] Script php Bunglon_Ijo 4 94 09-27-2014, 03:00 AM
Last Post: Bunglon_Ijo
  [SHARE] Tempat Upload Tool , Jalankan Script dll vba 14 410 08-10-2014, 05:20 AM
Last Post: positive
  Script PHP Upload File From URL CopSLacS 6 202 08-10-2014, 05:08 AM
Last Post: positive
  butuh java script email dhiany 8 112 08-10-2014, 05:01 AM
Last Post: positive
  [tutor]script auto retweet & favorite di twitter menurut keyword :p RieqyNS13 14 484 08-09-2014, 05:35 PM
Last Post: positive
  Ask : add ons buat pasang script adsense ke browser lugiyatna 3 59 02-28-2014, 05:01 AM
Last Post: lugiyatna
  [Ask] script php membaca isi database Terakhir roisbwi 3 93 10-29-2013, 02:43 PM
Last Post: hogyz
  [Share] Script PHP Web Proxy Untuk Web Hosting CopSLacS 9 221 09-24-2013, 10:36 AM
Last Post: CopSLacS
  (script)Bing subdomain scanner RieqyNS13 8 185 08-08-2013, 01:29 AM
Last Post: arDhi^_

Forum Jump:


Users browsing this thread: 1 Guest(s)