I currently have the following code.
$file_id = 'https://skyvault.co/show/file?filename=6N2viQpwLKBIA6'; $parts = parse_url($file_id); $path_parts = explode('/', $parts[path]); $secret = $path_parts[3]; print $secret;
You can see that I'm trying to explode / and it does not return a result. I am looking for it by simply returning file , and I need it to return 6N2viQpwLKBIA6 , so how could I get this identifier?
Ritzy source share