Hello,
I have the string as shown below. What do I need to do just to have dace1kit.jpg as the result ?????
C:\apache\htdocs\davis_tate\IMAGES\1\dace1kit.jpg
Many thanks in advance
<?php $string = "C:\apache\htdocs\davis_tate\IMAGES\1\dace1kit.jpg"; $string = basename($string); echo $string; // Outputs: // dace1kit.jpg ?>