I have the following path name being echoed...
C:\tempw\a.txt
i just want the filename however. How do i get this??
i know i use basename and i have been trying
$filename = basename ($carpic);
where $carpic is the path C:\tempw\a.txt
can anyone else help?