php - Use domain suffix in url parameter -
i trying have domain suffix .com in url parameter, www.abc.com/store/abc.com. store takes page , abc.com should parameter. when try "url not found".how can that?
please try this
$url = "www.abc.com/store/abc.com"; $path_parts = pathinfo($url); echo $path_parts['extension'], "\n";
Comments
Post a Comment