2
I have the following variable:
$imagem = "D:\Web\data\localweb\sites\site.com.br\crm\748064485.jpg";
I need to return only 748064485.jpg
, however, I do not want and I do not have how to use the str_replace("D:\Web\data\localweb\sites\site.com.br\crm\", $imagem);
because folders are different with each upload to the database.
How can I adjust it?
Explodes everything! Or use basename even...
– Woss