#6 admin [Mozilla/5.0]

nah itu dia.. gak sreg dg yg dua2 :D

coba share aja gmn kalo pake explode? begini?

[code]$a =..more

[Reply]

  • 1 decade ago

#5 ramuni [Opera/9.80]

gak berantakan kok, cuma butuh 2x explode dan cukup pake 1 variabel doang

[Reply]

  • 1 decade ago

#4 admin [Opera/9.80]

bisa aja, tp kalo make explode kodenya jadi nggak karuan kan. toh sudah disediakan fungsi yg..more

[Reply]

  • 1 decade ago

#3 ramuni [Opera/9.80]

knapa gak pake explode atau regex saja?

[Reply]

  • 1 decade ago

#2 admin [Mozilla/5.0]

@Btudz
[code]$url = 'http;//www.google.com/blabla';
$host = parse_url($url, PHP_URL_HOST);
echo..more

[Reply]

  • 1 decade ago

#1 Btudz [Opera/9.80]

Klo ngambil urlnya www.google.com gmna?

[Reply]

  • 1 decade ago