Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: How can I get the name of the image from url? #9932
    blankcheck123
    Participant
    $url_arr = explode ('/', $arr['url']);
    $ct = count($url_arr);
    $name = $url_arr[$ct-1];
    $name_div = explode('.', $name);
    $ct_dot = count($name_div);
    $img_type = $name_div[$ct_dot -1];
    
    echo $name . "  " . $img_type;
    
Viewing 1 post (of 1 total)