Firefox adds xls extension when downloading excel files from problem
My problem is this.
I have this excel report file that I crafted using PHPExcel for my php application. I don’t have any problem accessing the file from my ubuntu machine with major browsers. But from my windows box, FF will add this .xls extension on top of my file name [myreport.xlsx becomes myreport.xlsx.xls] and this would confuse windows on how to create and will finally decide to open it as binary gibberish texts.
The solution is to assign the correct MIME type for the xlsx extension. I got that gem from here
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
See how you would solve these known algorithm problems
Check if there are three numbers a, b, c giving a total T from array ACheck if two strings are anagrams or not
Implement Queue Using two Stacks – JavaScript algorithm
Finding missing numbers from billion sequential number list file
Find the pairs that makes K Complementary in the given array java solution
Java solution for checking anagram strings – tell if phrases are anagrams
Implementing tokenizer and adding tokens to the linked list
Get maximum occurring character
find longest word in the sentence
Kadane’s algorithm in C – Dynamic Programming