I use this code many times in my projects and now I share you this useful code. Sometimes in coding a very simple task can take you a lot of time to make a perfect solution. To get a file extension sometimes take me 30 mins to do the perfect code what work well in all of situation. But now it should take one minute with this code:
PHP Code:
function get_file_extension($file_name) {
return substr(strrchr($file_name,'.'),1);
}
This simple method of file extension retrieval should be reused throughout your code.
View more threads in the same category:
- buy a USA/UK passport online( https://legitcleandocs.com)visa, SNN, id card
- buy registered drivers license (legitcleandocs.com)IELTS, id
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,Visas and Undetected Counterfeit Money. Ema
- buy real drivers license(https://legitcleandocs.com)buy Austria id card, passports
- BUY DRIVER'S LICENSE ONLINE https://worldpassporte.com/
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- buy real passports online(https://legitcleandocs.com)drivers license, visa, id card
- BUY UNDETECTABLE GRADE A+ COUNTERFEIT BANKNOTE(legitcleandocs.com)
Bookmarks