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? #9928
    blankkhandad-niazi
    Participant
    $imagePath = 'http://www.prelovac.com/vladimir/wp-content/uploads/2008/03/example.jpg';
    
    $imageName = get_basename($imagePath);
    
    function get_basename($filename)
    {
        return preg_replace('/^.+[\\\\\\/]/', '', $imagePath);
    }
    
Viewing 1 post (of 1 total)