I'm new to PHP so I didn't really understand most of that. Here's what I've managed so far:
$filename = strstr($url, '\');
$filenameremoveslash = explode('\', $filename);
$nameoffile = "$filenameremoveslash[1]";
I think the \ and ' can't be put next to each other so I tried using ASCII92 insted but it still doesn't seem to work.