0

hey there this problem stuck me out

how to display url like this

http://www19.domain.com/548ecedd7f87970e986dc19077ef2edd.rar
preg_match_all('#^(?:http://)www[0-99]([^/]+)#i',$url,$parts);
foreach ($parts[1] as $test)
{
  echo 'hehehe '. $test;
}

and the result is:

hehehe 9.domain.com

it just stuck me out

i'm already search the answer at least 5 hours :(

i do not want to parse another url because i can get it, but this problem stuck me out :(

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by murray_ramadhan
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.