Strip or preg_replace .zip, .exe, .rar, .rpm, .xz, etc. etc.

I'd like to have a strip function (or preg_replace) that strips all extensions that can be unzipped / installed. Searching the web didn't give me anything that would allow me to do that. Of course I can come up with something on my own, but I was wondering if a thing like that already exists.



from PHP http://ift.tt/1UlROXW
via IFTTT
Previous
Next Post »
Thanks for your comment